Bug 117428

Summary: applyAuthorStyles and resetStyleInheritance should use shadow root's setNeedsStyleRecalc, not shadow host's
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: kling, koivisto
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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
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.