[Webkit-unassigned] [Bug 112487] New: [HTMLTemplateElement] prevent </template> from matching "template" in a non-HTML tags on the stack of open elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 18:04:09 PDT 2013


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

           Summary: [HTMLTemplateElement] prevent </template> from
                    matching "template" in a non-HTML tags on the stack of
                    open elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rafaelw at chromium.org
                CC: eric at webkit.org, abarth at webkit.org, ojan at chromium.org,
                    adamk at chromium.org


e.g. <template><svg><template><foreignObject><div></template>

The </template> needs to clear back to the first (HTML) template, not the middle (SVG) template.

Note that this is an open bug against HTML about this issue which exists in other contexts, and this fix is consistent with the most likely resolution (that the parser needs to be more aware about the namespace of elements when it trys to examine the stack of open elements for specific tags).

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