[Webkit-unassigned] [Bug 113097] New: lazyAttached nodes should not need to detach before attaching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 22 13:59:09 PDT 2013


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

           Summary: lazyAttached nodes should not need to detach before
                    attaching
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


lazyAttached nodes should not need to detach before attaching

Right now lazyAttach functions exactly how moving from display: none -> display: whatever would.  The node is attached and marked as needing style resolve, but has no renderer.  Thus when we do resolve style for the node, we find that it now needs a renderer, and do a reattach.

reattach does a detach (of the full subtree under the node) followed by an attach (of the full subtree).

When we lazyAttach a whole document at once, we end up doing a full subtree walk for the detach, which really wasn't needed.

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