Bug 136128

Summary: SVG <use> doesn't work with a <g> if the <g> is defined later in document
Product: WebKit Reporter: Dean Jackson <dino>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: krit, sabouhallawa, thorton, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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
Radar WebKit Bug Importer
Comment 1 2014-08-21 10:26:51 PDT
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.