[Webkit-unassigned] [Bug 136128] New: SVG <use> doesn't work with a <g> if the <g> is defined later in document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 21 10:25:12 PDT 2014


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
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dino at apple.com
                CC: zimmermann at kde.org, krit at webkit.org,
                    webkit-bug-importer at group.apple.com


>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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list