summaryrefslogtreecommitdiffstats
path: root/layout/style/Rule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/Rule.cpp')
-rw-r--r--layout/style/Rule.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/layout/style/Rule.cpp b/layout/style/Rule.cpp
index 0a7de42789..4b0f783bd9 100644
--- a/layout/style/Rule.cpp
+++ b/layout/style/Rule.cpp
@@ -106,7 +106,9 @@ void Rule::AssertParentRuleType() {
type == StyleCssRuleType::Supports ||
type == StyleCssRuleType::Keyframes ||
type == StyleCssRuleType::LayerBlock ||
- type == StyleCssRuleType::Container);
+ type == StyleCssRuleType::Container ||
+ type == StyleCssRuleType::Scope ||
+ type == StyleCssRuleType::StartingStyle);
}
}
#endif