[Webkit-unassigned] [Bug 75508] New: Analyze stylesheet scope to minimize style recalcs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 3 18:22:50 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=75508
Summary: Analyze stylesheet scope to minimize style recalcs
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: koivisto at iki.fi
It is a relatively common pattern to use inline stylesheets in document body where all rules are scoped using descendant selector
<style>
#foo {...}
#foo div {...}
#foo .bar {...}
</style>
When this pattern is used it is also common that the rules only apply to elements that come after the style element.
When the set of active stylesheets changes we invalidate and recompute the entire document style. This is very expensive. We can detect the case above and avoid the style recalc.
--
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