New issue
Advanced search Search tips

Issue 707758 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

<use xlink:href> does not respect <base> for local references

Reported by kdub...@mozilla.com, Apr 3 2017

Issue description

UserAgent: 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>
 
test-xlink-href-svg-base.html
741 bytes View Download
A parallel issue on the Firefox project 
https://bugzilla.mozilla.org/show_bug.cgi?id=1352979

Basically it creates Web Compatibility issues. 
https://gist.github.com/leonderijke/c5cf7c5b2e424c0061d2
Labels: Needs-Triage-M57

Comment 3 by f...@opera.com, Apr 3 2017

Components: -Blink>DOM Blink>SVG
Status: WontFix (was: Unconfirmed)
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.)
Thanks a lot. This is a useful answer.

Sign in to add a comment