summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-05-21 19:00:13 +0800
committerMoonchild <moonchild@palemoon.org>2023-06-05 21:16:43 +0200
commita7bb3fc1750bb25b05edf3124b1717eaae539ccb (patch)
treee814f5b9c99f2877a4da8a54ba3ef408e139a1ed
parent6a0203f25f8e8708b28e51514084e8cab6c13863 (diff)
downloaduxp-a7bb3fc1750bb25b05edf3124b1717eaae539ccb.tar.gz
Issue #1592 - Follow-up: Ensure topmost scope marker is cleaned up
-rw-r--r--dom/xbl/nsBindingManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/xbl/nsBindingManager.cpp b/dom/xbl/nsBindingManager.cpp
index b50c86c002..5245821776 100644
--- a/dom/xbl/nsBindingManager.cpp
+++ b/dom/xbl/nsBindingManager.cpp
@@ -717,8 +717,9 @@ nsBindingManager::WalkRules(nsIStyleRuleProcessor::EnumFunc aFunc,
aData->mTreeMatchContext.mIsTopmostScope = (index == 0);
binding->WalkRules(aFunc, aData);
}
- aData->mTreeMatchContext.mForAssignedSlot = false;
+ aData->mTreeMatchContext.mForAssignedSlot = false;
+ aData->mTreeMatchContext.mIsTopmostScope = false;
aData->mTreeMatchContext.mRestrictToSlottedPseudo = false;
}