From 83484a34f5b7bd37fa2aa33756dc784ce385c6b4 Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Tue, 21 Feb 2023 21:18:58 +0800 Subject: [PATCH] Issue #2078 - Follow-up: aPreventComplexSelectors should be passed --- layout/style/nsCSSRuleProcessor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layout/style/nsCSSRuleProcessor.cpp b/layout/style/nsCSSRuleProcessor.cpp index de4ee0fc3b..73209a951a 100644 --- a/layout/style/nsCSSRuleProcessor.cpp +++ b/layout/style/nsCSSRuleProcessor.cpp @@ -2713,7 +2713,8 @@ static bool SelectorListMatches(Element* aElement, aNodeMatchContext, aTreeMatchContext, SelectorMatchesFlags::IS_PSEUDO_CLASS_ARGUMENT, - aIsForgiving); + aIsForgiving, + aPreventComplexSelectors); } static inline