[Webkit-unassigned] [Bug 91515] New: SVGUseElement does not allow foreignObject as ancestor of SVGSVGElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 17 10:10:35 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91515

           Summary: SVGUseElement does not allow foreignObject as ancestor
                    of SVGSVGElement
           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: krit at webkit.org
                CC: zimmermann at kde.org


If a use element references an SVGSVGElement or document, it is not allowed to have a foreignObject as decedent. This is not disallowed according to SVG spac http://www.w3.org/TR/SVG/struct.html#UseElement:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
  <svg id="svg">
    <foreignObject>
      <p xmlns="http://www.w3.org/1999/xhtml">Test</p>
    </foreignObject>
  </svg>
</defs>
<use xlink:href="#svg"/>
</svg> 

It doesn't matter if the SVG element is in a defs section or not. In both cases the foreignObject and it's content get ignored. Other ancestors get drawn.

-- 
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