Index: Source/core/css/RuleSet.cpp |
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
index e6941096cfb64b7e23952bb22cc0b81178052d12..0e044e37ae14029f31cb5920d6b38df2a26ef091 100644 |
--- a/Source/core/css/RuleSet.cpp |
+++ b/Source/core/css/RuleSet.cpp |
@@ -393,8 +393,7 @@ void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const M |
resolver->setBuildScopedStyleTreeInDocumentOrder(false); |
resolver->ensureScopedStyleResolver(scope->shadowHost())->addHostRule(static_cast<StyleRuleHost*>(rule), hasDocumentSecurityOrigin, scope); |
resolver->setBuildScopedStyleTreeInDocumentOrder(enabled); |
- } else if (RuntimeEnabledFeatures::cssViewportEnabled() && rule->isViewportRule()) { |
- // @viewport should not be scoped. |
+ } else if (rule->isViewportRule()) { |
if (!isDocumentScope(scope)) |
continue; |
addViewportRule(static_cast<StyleRuleViewport*>(rule)); |