diff options
Diffstat (limited to 'dom/xbl')
-rw-r--r-- | dom/xbl/nsBindingManager.cpp | 3 |
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; } |