Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp

Issue 654693004: Remove meta viewport and @viewport CSS rules. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp
diff --git a/sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp b/sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp
index 2d1a1a22c9de14c95b81255391cb1caac7c6d892..05a20bc32e816e79e9ea37338b49be2a8fb77b33 100644
--- a/sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp
+++ b/sky/engine/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp
@@ -83,7 +83,6 @@ static bool ruleAdditionMightRequireDocumentStyleRecalc(StyleRuleBase* rule)
case StyleRule::Media: // If the media rule doesn't apply, we could avoid recalc.
case StyleRule::FontFace: // If the fonts aren't in use, we could avoid recalc.
case StyleRule::Supports: // If we evaluated the supports-clause we could avoid recalc.
- case StyleRule::Viewport: // If the viewport doesn't match, we could avoid recalcing.
// FIXME: Unclear if any of the rest need to cause style recalc:
case StyleRule::Filter:
return true;

Powered by Google App Engine
This is Rietveld 408576698