Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 415f1c423d1ebccb836c0fb79e4af934945a7574..4a7f3fbe47ade2e68f9fdf28fdacb9f8b88e4d17 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -1514,13 +1514,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
parsedValue = parseTouchAction(); |
break; |
- case CSSPropertyScrollBlocksOn: |
- if (id == CSSValueNone) |
- validPrimitive = true; |
- else |
- parsedValue = parseScrollBlocksOn(); |
- break; |
- |
case CSSPropertyAlignContent: |
parsedValue = parseContentDistributionOverflowPosition(); |
break; |
@@ -7141,31 +7134,6 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseTouchAction() |
return nullptr; |
} |
-PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseScrollBlocksOn() |
-{ |
- RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
- CSSParserValue* value = m_valueList->current(); |
- while (value) { |
- switch (value->id) { |
- case CSSValueStartTouch: |
- case CSSValueWheelEvent: |
- case CSSValueScrollEvent: { |
- RefPtrWillBeRawPtr<CSSValue> flagValue = cssValuePool().createIdentifierValue(value->id); |
- if (list->hasValue(flagValue.get())) |
- return nullptr; |
- list->append(flagValue.release()); |
- break; |
- } |
- default: |
- return nullptr; |
- } |
- value = m_valueList->next(); |
- } |
- |
- ASSERT(list->length()); |
- return list.release(); |
-} |
- |
PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseTextDecoration() |
{ |
CSSParserValue* value = m_valueList->current(); |