DescriptionSelectorChecker should update scope and behaviorAtBoundary for /content/ in SharingRules mode.
When ShardStyleFinder checks whether a given element can reuse other element's style
or not, it uses SelectorChecker with SharingRules mode.
However, RuleFeatureSet used in SharingRules mode doesn't have any information about styles' scope, i.e. SelectorCheckingContext's scope.
So Blink should treat as if scope and behavior are set correctly.
BUG=353428
TEST=fast/dom/shadow/style-sharing-with-content-and-host.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170176
Patch Set 1 #Patch Set 2 : Update for :not and :ancestor #Patch Set 3 : Fixed regression caused by reverting /content/ #
Messages
Total messages: 8 (0 generated)
|