Index: sky/engine/core/css/parser/BisonCSSParser-in.cpp |
diff --git a/sky/engine/core/css/parser/BisonCSSParser-in.cpp b/sky/engine/core/css/parser/BisonCSSParser-in.cpp |
index 01c1d164a6c5ebf3bb089bc4f1c2e5c9006990ad..34431d248b726ce4b9670ff6d6269536fa8e3a9d 100644 |
--- a/sky/engine/core/css/parser/BisonCSSParser-in.cpp |
+++ b/sky/engine/core/css/parser/BisonCSSParser-in.cpp |
@@ -365,10 +365,10 @@ bool isValidKeywordPropertyAndValue(CSSPropertyID propertyId, CSSValueID valueID |
case CSSPropertyOverflowWrap: // normal | break-word |
case CSSPropertyWordWrap: |
return valueID == CSSValueNormal || valueID == CSSValueBreakWord; |
- case CSSPropertyOverflowX: // visible | hidden | scroll | auto | overlay |
- return valueID == CSSValueVisible || valueID == CSSValueHidden || valueID == CSSValueScroll || valueID == CSSValueAuto || valueID == CSSValueOverlay; |
- case CSSPropertyOverflowY: // visible | hidden | scroll | auto | overlay | -webkit-paged-x | -webkit-paged-y |
- return valueID == CSSValueVisible || valueID == CSSValueHidden || valueID == CSSValueScroll || valueID == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPagedX || valueID == CSSValueWebkitPagedY; |
+ case CSSPropertyOverflowX: // visible | hidden | auto | overlay |
+ return valueID == CSSValueVisible || valueID == CSSValueHidden || valueID == CSSValueAuto || valueID == CSSValueOverlay; |
+ case CSSPropertyOverflowY: // visible | hidden | auto | overlay | -webkit-paged-x | -webkit-paged-y |
+ return valueID == CSSValueVisible || valueID == CSSValueHidden || valueID == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPagedX || valueID == CSSValueWebkitPagedY; |
case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right |
case CSSPropertyPageBreakBefore: |
case CSSPropertyPageBreakInside: // avoid | auto |
@@ -378,9 +378,6 @@ bool isValidKeywordPropertyAndValue(CSSPropertyID propertyId, CSSValueID valueID |
return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox); |
case CSSPropertyPosition: // static | relative | absolute | fixed |
return valueID == CSSValueStatic || valueID == CSSValueRelative || valueID == CSSValueAbsolute || valueID == CSSValueFixed; |
- case CSSPropertyScrollBehavior: // instant | smooth |
- ASSERT(RuntimeEnabledFeatures::cssomSmoothScrollEnabled()); |
- return valueID == CSSValueInstant || valueID == CSSValueSmooth; |
case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punctuation | no-punctuation |
return valueID == CSSValueNone || valueID == CSSValueNormal || valueID == CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPunctuation || valueID == CSSValueNoPunctuation; |
case CSSPropertyTableLayout: // auto | fixed |
@@ -491,7 +488,6 @@ bool isKeywordPropertyID(CSSPropertyID propertyId) |
case CSSPropertyPageBreakInside: |
case CSSPropertyPointerEvents: |
case CSSPropertyPosition: |
- case CSSPropertyScrollBehavior: |
case CSSPropertySpeak: |
case CSSPropertyTableLayout: |
case CSSPropertyTextAlignLast: |