| Index: Source/core/dom/SelectorQuery.cpp
|
| diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp
|
| index 97c71df701b608ef4f159bf8ed86a1bd355573ab..9541253ffd2bc092ad0533bc1e26842ffd85fe63 100644
|
| --- a/Source/core/dom/SelectorQuery.cpp
|
| +++ b/Source/core/dom/SelectorQuery.cpp
|
| @@ -119,7 +119,6 @@ inline bool SelectorDataList::selectorMatches(const CSSSelector& selector, Eleme
|
| {
|
| SelectorChecker selectorChecker(element.document(), SelectorChecker::QueryingRules);
|
| SelectorChecker::SelectorCheckingContext selectorCheckingContext(selector, &element, SelectorChecker::VisitedMatchDisabled);
|
| - selectorCheckingContext.behaviorAtBoundary = SelectorChecker::StaysWithinTreeScope;
|
| selectorCheckingContext.scope = !rootNode.isDocumentNode() ? &rootNode : 0;
|
| return selectorChecker.match(selectorCheckingContext, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches;
|
| }
|
|
|