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

Unified Diff: sky/engine/core/css/parser/CSSTokenizer-in.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/parser/CSSTokenizer-in.cpp
diff --git a/sky/engine/core/css/parser/CSSTokenizer-in.cpp b/sky/engine/core/css/parser/CSSTokenizer-in.cpp
index 068246202c3d1c38093f3868f923d50a8c413b94..9bac640a48a8b63fd46bf0df37ef272fcfaf0d69 100644
--- a/sky/engine/core/css/parser/CSSTokenizer-in.cpp
+++ b/sky/engine/core/css/parser/CSSTokenizer-in.cpp
@@ -916,9 +916,6 @@ inline void CSSTokenizer::detectAtToken(int length, bool hasEscape)
m_parsingMode = SupportsMode;
m_token = SUPPORTS_SYM;
}
- CASE("viewport") {
- m_token = VIEWPORT_RULE_SYM;
- }
CASE("-internal-rule") {
if (LIKELY(!hasEscape && m_internal))
m_token = INTERNAL_RULE_SYM;

Powered by Google App Engine
This is Rietveld 408576698