[Webkit-unassigned] [Bug 14742] Document::recalcStyle(Force) called for every updateStyleIgnorePendingStylesheets while waiting for stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 3 08:07:06 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14742


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15656|0                           |1
        is obsolete|                            |
  Attachment #15818|                            |review?
               Flag|                            |




------- Comment #9 from mitz at webkit.org  2007-08-03 08:07 PDT -------
Created an attachment (id=15818)
 --> (http://bugs.webkit.org/attachment.cgi?id=15818&action=view)
Patch (for now)

This is a very pinpointed and conservative fix.

I think in the long run, Document::updateStyleSelector() should be replaced
with a function that just sets a "style selector dirty" flag, and
Document::styleSelector() should lazily update the style selector as needed.
That is worth doing even if JavaScript becomes interruptible, because it will
coalesce style updates.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list