[Webkit-unassigned] [Bug 32580] New: JS Event listeners should not call Document::updateStyleForAllDocuments()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 15 14:26:31 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=32580
Summary: JS Event listeners should not call
Document::updateStyleForAllDocuments()
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jamesr at chromium.org
CC: eric at webkit.org, hyatt at apple.com, fishd at chromium.org,
dglazkov at chromium.org
Currently whenever a JS event handler for a DOM event is fired at a document
context a call to Document::updateStyleForAllDocuments() is made. This used to
be necessary since many parts of the codebase would assume styles were up to
date and there was no useful way to defer the style updates, but I believe this
is no longer the case as all layout codepaths should be ensuring that styles
are up to date.
This is really bad for pages that register DOM mutation event listeners since
styles are updated on every DOM mutation.
--
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