[Webkit-unassigned] [Bug 36303] Inserting CSS rules one at a time via js causes slow synchronous style recalculation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 19 15:13:04 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36303
--- Comment #5 from James Robinson <jamesr at chromium.org> 2010-03-19 15:13:04 PST ---
Or to put it another way, why not always force the Node::lazyAttach() case.
I'm experimenting with this locally and it seems to not be too bad. The tricky
cases are plugins and shadow DOM trees. Plugins are tricky because they are
instantiated through a RenderWidget and need to start up synchronously, but it
should be pretty simple to force a layout pass after adding them to the DOM.
Shadow DOM trees can be lazily created, there's no reason for them to even
exist until layout will occur. There are a few more corner cases but they
don't seem too tricky.
Is there any reason why this can't work?
--
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