[Webkit-unassigned] [Bug 106291] New: [Meta][Shadow] Incremental distribution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 7 19:58:10 PST 2013


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

           Summary: [Meta][Shadow] Incremental distribution
           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: shinyak at chromium.org
            Blocks: 103016


Currently when an element is added/removed to/from host element, whole distribution happens.
However, in some cases, we can skip such distribution. This will significantly improve ShadowDOM performance.

We assume that content does not have some kinds of select attribute (e.g. div:first-of-type, etc.) here.
if this assumption does not hold, it's safer to cause whole distribution.

When removing an element:
  we can just remove an element from distributed element.

When adding an element:
  find the first InsertionPoint the element will be distributed to, and add to it. (You have to care about node order.)

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