New issue
Advanced search Search tips

Issue 592045 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 470608
Owner: ----
Closed: Mar 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Compat



Sign in to add a comment

Local SVG references no longer resolve when page has <base> tag

Reported by etlov...@gmail.com, Mar 4 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0

Example URL:
See attached reduced test case.

Steps to reproduce the problem:
1. Open the attached math.html file in Chrome 49.
2. Note that the page appears blank.
3. Comment out the <base> tag in the HTML file and reload.
4. Note that the glyph '9' appears.

What is the expected behavior?
The glyph should appear even with the <base> tag.

What went wrong?
The glyph does not appear and the page is blank.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes Chrome 48

Does this work in other browsers? N/A 

Chrome version: Version 49.0.2623.75 (64-bit)  Channel: stable
OS Version: OS X 10.11
Flash Version: Shockwave Flash 20.0 r0

Safari 9.0.3 (11601.4.4) has the same behavior as Chrome 48.
Firefox 45.0 has the same behavior as Chrome 49.

As far as I can tell from my inexpert reading of the SVG spec (https://www.w3.org/TR/SVG/animate.html#HrefAttribute), this reference should resolve correctly even with the <base> element present.  But given that Firefox has the same behavior as Chrome 49, I recognize that this may be Chrome adjusting behavior to match the spec rather than a bug.  If that is the case, I'd greatly appreciate any advice on how to modify the SVG to correctly resolve the reference.  Thanks!
 
math.html
1.2 KB View Download

Comment 1 by etlov...@gmail.com, Mar 4 2016

Chrome version 51.0.2663.0 canary (64-bit) has the same behavior as Chrome 49, FYI.

Comment 2 by f...@opera.com, Mar 4 2016

Mergedinto: 470608
Status: Duplicate (was: Unconfirmed)
SVG 1.1 did not define this AFAIK, but SVG2 does: https://svgwg.org/svg2-draft/struct.html#HTMLMetadataElements

Gecko (Firefox) has had this behavior for a while though.

Comment 3 by f...@opera.com, Mar 4 2016

Components: Blink>SVG

Comment 4 by etlov...@gmail.com, Mar 4 2016

Interesting that the other bug was filed against Chrome 41 while we just experienced this breaking with the update 48->49. Not sure why that would be. Apologies for filing a dupe!

Comment 5 by f...@opera.com, Mar 4 2016

It's better to file a dupe than no bug at all - so thank you!

The reason you didn't see "break" until 48-49 is that <use> used to suffer from a bug ( issue 449027 ) that was fixed in that time-frame.

Sign in to add a comment