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

Unified Diff: Source/core/css/CSSParser-in.cpp

Issue 20526006: Remove -webkit-hyphens and -webkit-hyphenate-limit-* properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: init removal Created 7 years, 5 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSParser-in.cpp
diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp
index f8ec748943335a92569f2f89b6ec77f02396da5a..67c7b733680765bccec3cfbc9119f041802d11d8 100644
--- a/Source/core/css/CSSParser-in.cpp
+++ b/Source/core/css/CSSParser-in.cpp
@@ -802,10 +802,6 @@ static inline bool isValidKeywordPropertyAndValue(CSSPropertyID propertyId, int
if (valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueAntialiased || valueID == CSSValueSubpixelAntialiased)
return true;
break;
- case CSSPropertyWebkitHyphens:
- if (valueID == CSSValueNone || valueID == CSSValueManual || valueID == CSSValueAuto)
- return true;
- break;
case CSSPropertyGridAutoFlow:
if (valueID == CSSValueNone || valueID == CSSValueRow || valueID == CSSValueColumn)
return RuntimeEnabledFeatures::cssGridLayoutEnabled();
@@ -996,7 +992,6 @@ static inline bool isKeywordPropertyID(CSSPropertyID propertyId)
case CSSPropertyJustifyContent:
case CSSPropertyWebkitFontKerning:
case CSSPropertyWebkitFontSmoothing:
- case CSSPropertyWebkitHyphens:
case CSSPropertyGridAutoFlow:
case CSSPropertyWebkitLineAlign:
case CSSPropertyWebkitLineBreak:
@@ -2543,17 +2538,6 @@ bool CSSParser::parseValue(CSSPropertyID propId, bool important)
validPrimitive = true;
break;
- case CSSPropertyWebkitHyphenateLimitBefore:
- case CSSPropertyWebkitHyphenateLimitAfter:
- if (id == CSSValueAuto || validUnit(value, FInteger | FNonNeg, CSSStrictMode))
- validPrimitive = true;
- break;
-
- case CSSPropertyWebkitHyphenateLimitLines:
- if (id == CSSValueNoLimit || validUnit(value, FInteger | FNonNeg, CSSStrictMode))
- validPrimitive = true;
- break;
-
case CSSPropertyWebkitLineGrid:
if (id == CSSValueNone)
validPrimitive = true;
@@ -2808,7 +2792,6 @@ bool CSSParser::parseValue(CSSPropertyID propId, bool important)
case CSSPropertyJustifyContent:
case CSSPropertyWebkitFontKerning:
case CSSPropertyWebkitFontSmoothing:
- case CSSPropertyWebkitHyphens:
case CSSPropertyGridAutoFlow:
case CSSPropertyWebkitLineAlign:
case CSSPropertyWebkitLineBreak:
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698