WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
113097
lazyAttached nodes should not need to detach before attaching
https://bugs.webkit.org/show_bug.cgi?id=113097
Summary
lazyAttached nodes should not need to detach before attaching
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug