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 139451
136128
SVG <use> doesn't work with a <g> if the <g> is defined later in document
https://bugs.webkit.org/show_bug.cgi?id=136128
Summary
SVG <use> doesn't work with a <g> if the <g> is defined later in document
Dean Jackson
Reported
2014-08-21 10:25:19 PDT
From
https://code.google.com/p/chromium/issues/detail?id=349175
Example URL:
http://codepen.io/chriscoyier/pen/bErma
Steps to reproduce the problem: 1. Define an inline <svg> with a <use> element with an xlink:href attribute that points to an id of a <g> element e.g. #shape 2. Define that <g> element with matching id later in the document 3. The svg with <use> will not display it. What is the expected behavior? The <svg> should display it. It does in Firefox and Opera(presto). It DOES work if you reference the id of a <path> What went wrong? SVG <use> doesn't work with a <g> if the <g> is definied later in document. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-08-21 10:26:51 PDT
<
rdar://problem/18090228
>
Tim Horton
Comment 2
2014-12-03 15:49:12 PST
*** This bug has been marked as a duplicate of
bug 105257
***
Said Abou-Hallawa
Comment 3
2014-12-12 12:59:42 PST
*** This bug has been marked as a duplicate of
bug 139451
***
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