| Index: Source/core/css/SelectorChecker.cpp
|
| diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp
|
| index 3fc552e4cba3aaa4d8a168bb8228fd9fc76918f3..f4010df842edc4196be917072147505933271a17 100644
|
| --- a/Source/core/css/SelectorChecker.cpp
|
| +++ b/Source/core/css/SelectorChecker.cpp
|
| @@ -290,7 +290,7 @@ SelectorChecker::Match SelectorChecker::matchForRelation(const SelectorCheckingC
|
| return SelectorFailsAllSiblings;
|
|
|
| case CSSSelector::ShadowPseudo:
|
| - case CSSSelector::ChildTree:
|
| + case CSSSelector::ShadowAll:
|
| {
|
| // If we're in the same tree-scope as the scoping element, then following a shadow descendant combinator would escape that and thus the scope.
|
| if (context.scope && context.scope->treeScope() == context.element->treeScope() && (context.behaviorAtBoundary & BoundaryBehaviorMask) != StaysWithinTreeScope)
|
| @@ -305,7 +305,7 @@ SelectorChecker::Match SelectorChecker::matchForRelation(const SelectorCheckingC
|
| return this->match(nextContext, siblingTraversalStrategy, result);
|
| }
|
|
|
| - case CSSSelector::DescendantTree:
|
| + case CSSSelector::ShadowDeep:
|
| {
|
| nextContext.isSubSelector = false;
|
| nextContext.elementStyle = 0;
|
|
|