WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
115835
StyleResolver::styleForDocument requires a 2-pass style recalc for correctness?
https://bugs.webkit.org/show_bug.cgi?id=115835
Summary
StyleResolver::styleForDocument requires a 2-pass style recalc for correctness?
Eric Seidel (no email)
Reported
2013-05-08 17:19:27 PDT
StyleResolver::styleForDocument requires a 2-pass style recalc for correctness?
http://trac.webkit.org/browser/trunk/Source/WebCore/css/StyleResolver.cpp#L853
Maybe I'm reading it wrong. But it appears that in order to get the correct styles for a document, we need to do a two-pass style recalc? Elliot ran into this while trying to remove the full-document forced style recalcs which happen at every </style> in a document due to Document::didRemoveAllPendingStylesheet():
http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Document.cpp#L2802
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug