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

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 1287623002: Delete blink code for scroll-blocks-on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge with trunk (no changes from previous patch) Created 5 years, 4 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/parser/CSSPropertyParser.h ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index bf6ae705ab3d0d4eafd47a67cdc7bfefe7e9422b..b1eba01594cfc60a3a2d19ee98513c6edbdaa95d 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();
« no previous file with comments | « Source/core/css/parser/CSSPropertyParser.h ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698