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

Unified Diff: sky/engine/core/css/parser/CSSPropertyParser.cpp

Issue 761283002: Remove webkit-line-clamp (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/CSSPropertyParser.cpp
diff --git a/sky/engine/core/css/parser/CSSPropertyParser.cpp b/sky/engine/core/css/parser/CSSPropertyParser.cpp
index 16808e2c1a4de98e1105b0e4f19a90a743d166a3..4401dfafdf6ffc3199ab2caff0acae3a6f71716a 100644
--- a/sky/engine/core/css/parser/CSSPropertyParser.cpp
+++ b/sky/engine/core/css/parser/CSSPropertyParser.cpp
@@ -1149,12 +1149,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
// Apple specific properties. These will never be standardized and are purely to
// support custom WebKit-based Apple applications.
- case CSSPropertyWebkitLineClamp:
- // When specifying number of lines, don't allow 0 as a valid value
- // When specifying either type of unit, require non-negative integers
- validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && validUnit(value, FInteger | FPercent | FNonNeg));
- break;
-
case CSSPropertyWebkitFontSizeDelta: // <length>
validPrimitive = validUnit(value, FLength);
break;

Powered by Google App Engine
This is Rietveld 408576698