Bug 115844

Summary: Avoid full style recalc for scoped style element
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: benjamin, kling, koivisto
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2013-05-08 20:54:35 PDT
We should probably merge https://chromium.googlesource.com/chromium/blink/+/628ec64c197dc92c5e87b1c4f7b6e13af1f86b75 Since rules in scoped styles could be treated as scoped selector rules, we don't need to full style recalc. So updated in the following way: - register with scoping node before invoking DocumentStyleSheets::updateActiveStyleSheets. - move needsStyleRecalc logic for scoped styles from HTMLStyleElement to StyleInvalidationAnalysis. - make StyleInvalidationAnalysis support scoped styles.
Attachments
Ryosuke Niwa
Comment 1 2013-05-09 10:48:51 PDT
Benjamin Poulain
Comment 2 2015-01-27 13:55:51 PST
Irrelevant now.
Note You need to log in before you can comment on or make changes to this bug.