WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
117428
applyAuthorStyles and resetStyleInheritance should use shadow root's setNeedsStyleRecalc, not shadow host's
https://bugs.webkit.org/show_bug.cgi?id=117428
Summary
applyAuthorStyles and resetStyleInheritance should use shadow root's setNeeds...
Ryosuke Niwa
Reported
2013-06-10 15:06:16 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/6631b7cdff92c6c3261e037936ae5213f0eebdf7
- ShadowRoot::recalcStyle should see its styleChangeType. If FullStyleChange, use Force for its children's style recalc. - Changed applyAuthorStyles and resetStyleInheritance to check whether the modified shadow root is inert or not. If inert, we don't need style recalc.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2013-06-10 15:15:14 PDT
Or rather
https://chromium.googlesource.com/chromium/blink/+/d9ea052fa74897d53f1f7fdfbcd6ba9cf7f7e113
Ryosuke Niwa
Comment 2
2022-08-21 12:26:08 PDT
We've since implemented shadow DOM v1 API.
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