[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
Wed May 19 14:36:11 PDT 2010


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





--- Comment #9 from Dave Hyatt <hyatt at apple.com>  2010-05-19 14:36:10 PST ---
I think you could keep chugging along by using styleNotYetAvailable stuff... the same thing we do when stylesheets haven't loaded.  The new objects would get parsed and attached but have no renderers.  Eventually you'd yield back to the run loop and the layout would happen, and you'd get the renderers made.

Note that you also need to patch the recalc style timer to update the style selector if needed.  We don't want that firing and not updating the style selector first.

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