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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp

Issue 1737453002: WIP: snap-width Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
index 51bf905c19e88a6ef1fbd9a1c4e3e537193eaf9c..63702b93f2c8298ba4498e7834f1871b93461990 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp
@@ -3321,6 +3321,8 @@ CSSValue* CSSPropertyParser::parseSingleValue(CSSPropertyID unresolvedProperty)
return consumeSize(m_range, m_context.mode());
case CSSPropertySnapHeight:
return consumeSnapHeight(m_range, m_context.mode());
+ case CSSPropertySnapWidth:
+ return consumeLength(m_range, m_context.mode(), ValueRangeNonNegative);
case CSSPropertyTextIndent:
return consumeTextIndent(m_range, m_context.mode());
case CSSPropertyMaxWidth:

Powered by Google App Engine
This is Rietveld 408576698