WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
115844
Avoid full style recalc for scoped style element
https://bugs.webkit.org/show_bug.cgi?id=115844
Summary
Avoid full style recalc for scoped style element
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
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-05-09 10:48:51 PDT
This one caused assertion failures.
https://chromium.googlesource.com/chromium/blink/+/f253680301e93041b6ba02d95a31ca931e7a8f9e
is what we want.
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.
Top of Page
Format For Printing
XML
Clone This Bug