[Webkit-unassigned] [Bug 40573] Don't constantly recalculate style unnecessarily if JavaScript is not enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 11:34:52 PDT 2010


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Mac OS X 10.5               |All
           Severity|Normal                      |Enhancement
                 CC|                            |ap at webkit.org




--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2010-06-14 11:34:51 PST ---
I think display:none has many effects that go beyond providing incorrect answers to JavaScript. But I don't have a specific example that would make this idea implausible.

> WebKit tries to recalculate styles and run layouts whenever it processes a style sheet.  

I'm not sure if that's entirely accurate. Why would one need to force layout with document.body.offsetTop if that were so?

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