Bug 113097
Summary: | lazyAttached nodes should not need to detach before attaching | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Layout and Rendering | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |