WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 153854
Bug 181283
SVG2: Drop xlink namespace
https://bugs.webkit.org/show_bug.cgi?id=181283
Summary
SVG2: Drop xlink namespace
Peter Holbein Kapoun
Reported
2018-01-04 03:24:27 PST
Created
attachment 330453
[details]
<pattern> with nested <use> Steps to reproduce the problem: 1. Open all three test cases. What is the expected behavior? In each case there should be a <circle> filled with an argyle <pattern>. What went wrong? The two cases where <use> inside <pattern> is used do not work in Safari (and probably other Webkit browsers). Does this work in other browsers? Works in current versions of Google Chrome, Mozilla Firefox and Microsoft Internet Explorer and Microsoft Edge.
Attachments
<pattern> with nested <use>
(2.77 KB, text/html)
2018-01-04 03:24 PST
,
Peter Holbein Kapoun
no flags
Details
<pattern> with some <use>
(3.15 KB, text/html)
2018-01-04 03:24 PST
,
Peter Holbein Kapoun
no flags
Details
<pattern
(6.21 KB, text/html)
2018-01-04 03:25 PST
,
Peter Holbein Kapoun
no flags
Details
<pattern> with no <use>
(6.21 KB, text/html)
2018-01-04 03:25 PST
,
Peter Holbein Kapoun
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Peter Holbein Kapoun
Comment 1
2018-01-04 03:24:47 PST
Created
attachment 330454
[details]
<pattern> with some <use>
Peter Holbein Kapoun
Comment 2
2018-01-04 03:25:02 PST
Created
attachment 330455
[details]
<pattern
Peter Holbein Kapoun
Comment 3
2018-01-04 03:25:39 PST
Created
attachment 330456
[details]
<pattern> with no <use> (This one works in Safari)
Peter Holbein Kapoun
Comment 4
2018-01-04 06:13:35 PST
Also broken in the newest Safari Tech Preview (WebKit 13605.1.18.2), just a black circle there.
Said Abou-Hallawa
Comment 5
2018-01-04 10:53:52 PST
The problem here is WebKit still supports the "xlink" namespace and expects the "href" attribute to be prefixed by it. SVG 2 dropped the "xlink" namespace. See
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
. WebKit has not dropped it yet. So get all the test cases working in WebKit, all the href attributes should be replaced by xlink:href.
Peter Holbein Kapoun
Comment 6
2018-01-04 11:31:55 PST
Thank you, I could kick myself for this. I knew about this now-unique characteristic of Webkit but I totally forgot about it and none of the checkers and HTML5 validators pointed it out to me since they are already targeting SVG2 in that regard (which is also good for since I am also already using SVG2-specific attributes in another instance). I would have closed this issue now but judging from the new title I guess the intention is on giving this bug a new raison d'être as a bug tracking WebKit catching up with the rest of the browser gang in that regard. Fine with me.
Said Abou-Hallawa
Comment 7
2019-05-07 09:16:51 PDT
This is fixed by
https://bugs.webkit.org/show_bug.cgi?id=153854
. *** This bug has been marked as a duplicate of
bug 153854
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug