<use xlink:href> does not respect <base> for local references
Reported by
kdub...@mozilla.com,
Apr 3 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0 Steps to reproduce the problem: 1. Load the attachment What is the expected behavior? Per spec the disc should not be visible. https://www.w3.org/TR/SVG2/linking.html#processingURL-absolute What went wrong? The disc is visible in Chrome and Safari. Did this work before? No Does this work in other browsers? No In Safari like in Chrome, we can see the pink disc. In Firefox, we can't see the disc. Chrome version: 57.0.2987.98 Channel: stable OS Version: OS X 10.12 Flash Version: So basically, the baseURI for the use element is set with the value in the <base> element but is not used for deferencing the xlink:href. <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#logo" x="0" y="0"></use>
,
Apr 3 2017
,
Apr 3 2017
This was changed via issue 470608 after we had attempted to implement the Gecko behavior in issue 449027 and got push-back (possibly because this "broken" behavior had existed in WebKit for quite a while.)
,
Apr 4 2017
Thanks a lot. This is a useful answer. |
|||
►
Sign in to add a comment |
|||
Comment 1 by kdub...@mozilla.com
, Apr 3 2017