Issue metadata
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 descriptionUserAgent: 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!
,
Mar 4 2016
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.
,
Mar 4 2016
,
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!
,
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 |
|||||||||||||||||||||||
Comment 1 by etlov...@gmail.com
, Mar 4 2016