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

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

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix more (all?) tests Created 6 years, 9 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
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index 4c25c666dbde77e24f4481c8411dd47d925d09b5..a03eeae62f4a675c843a92556bb0ddf250d53089 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -1483,7 +1483,6 @@ bool CSSPropertyParser::parseValue(CSSPropertyID propId, bool important)
return true;
}
break;
- case CSSPropertyShapeInside:
case CSSPropertyShapeOutside:
parsedValue = parseShapeProperty(propId);
break;
@@ -4203,8 +4202,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseShapeProperty(CSSProper
RefPtrWillBeRawPtr<CSSPrimitiveValue> boxValue;
RefPtrWillBeRawPtr<CSSPrimitiveValue> shapeValue;
- if (valueId == CSSValueNone
- || (valueId == CSSValueOutsideShape && propId == CSSPropertyShapeInside)) {
+ if (valueId == CSSValueNone) {
RefPtrWillBeRawPtr<CSSPrimitiveValue> keywordValue = parseValidPrimitive(valueId, value);
m_valueList->next();
return keywordValue.release();

Powered by Google App Engine
This is Rietveld 408576698