| Index: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| index c85017d5769dda61640089b6c1bc3d9699d70636..1fc1c3fe89cd7b5152894cfdcde3bc4b866222b1 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| @@ -663,14 +663,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import
|
| validPrimitive = validUnit(value, FLength | FPercent | unitless);
|
| break;
|
|
|
| - case CSSPropertyOrphans: // <integer> | inherit | auto (We've added support for auto for backwards compatibility)
|
| - case CSSPropertyWidows: // <integer> | inherit | auto (Ditto)
|
| - if (id == CSSValueAuto)
|
| - validPrimitive = true;
|
| - else
|
| - validPrimitive = validUnit(value, FPositiveInteger);
|
| - break;
|
| -
|
| case CSSPropertyZIndex: // auto | <integer> | inherit
|
| if (id == CSSValueAuto) {
|
| validPrimitive = true;
|
| @@ -1253,6 +1245,8 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import
|
| case CSSPropertyAnimationTimingFunction:
|
| case CSSPropertyTransitionTimingFunction:
|
| case CSSPropertyTransitionProperty:
|
| + case CSSPropertyOrphans:
|
| + case CSSPropertyWidows:
|
| validPrimitive = false;
|
| break;
|
|
|
|
|