Bug 113097

Summary: lazyAttached nodes should not need to detach before attaching
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 111644    

Eric Seidel (no email)
Reported 2013-03-22 14:01:36 PDT
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.