[Webkit-unassigned] [Bug 85328] New: HTMLElementStack doesn't always contain Elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 17:41:30 PDT 2012


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

           Summary: HTMLElementStack doesn't always contain 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: simonjam at chromium.org
                CC: eric at webkit.org, abarth at webkit.org, aestes at apple.com
        Depends on: 85167


Somewhat intentionally (see bug 48719), the HTMLElementStack doesn't always contain Elements. This was to speed up the parser, by not needing to reparent nodes from an <html> element to the document fragment. However, this causes its own problems, because we're no longer tightly following the HTML spec. An example is bug 85167. The concern is that other changes in the spec may lead to similar bugs.

We should look into alternative ways of ensuring there are always Elements in the HTMLElementStack, but without losing the performance gain from bug 48719.

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