[Webkit-unassigned] [Bug 115835] New: StyleResolver::styleForDocument requires a 2-pass style recalc for correctness?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 8 17:21:03 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=115835
Summary: StyleResolver::styleForDocument requires a 2-pass
style recalc for correctness?
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: hyatt at apple.com, koivisto at iki.fi,
esprehn at chromium.org, akling at apple.com
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
--
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