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

Unified Diff: sky/engine/core/css/CSSComputedStyleDeclaration.cpp

Issue 1069403003: Remove CSS list-style (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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: sky/engine/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
index 3fe146c2d4c00b86f28b0501e1d07f86c8ce119f..16b0b9bd0cac5c0dc0e184c2df0c8716b6626640 100644
--- a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
+++ b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
@@ -126,9 +126,6 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyLeft,
CSSPropertyLetterSpacing,
CSSPropertyLineHeight,
- CSSPropertyListStyleImage,
- CSSPropertyListStylePosition,
- CSSPropertyListStyleType,
CSSPropertyMarginBottom,
CSSPropertyMarginLeft,
CSSPropertyMarginRight,
@@ -1472,14 +1469,6 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return pixelValue(style->letterSpacing(), *style);
case CSSPropertyLineHeight:
return valueForLineHeight(*style);
- case CSSPropertyListStyleImage:
- if (style->listStyleImage())
- return style->listStyleImage()->cssValue();
- return cssValuePool().createIdentifierValue(CSSValueNone);
- case CSSPropertyListStylePosition:
- return cssValuePool().createValue(style->listStylePosition());
- case CSSPropertyListStyleType:
- return cssValuePool().createValue(style->listStyleType());
case CSSPropertyWebkitLocale:
if (style->locale().isNull())
return cssValuePool().createIdentifierValue(CSSValueAuto);
@@ -2045,8 +2034,6 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return valuesForShorthandProperty(borderTopShorthand());
case CSSPropertyBorderWidth:
return valuesForSidesShorthand(borderWidthShorthand());
- case CSSPropertyListStyle:
- return valuesForShorthandProperty(listStyleShorthand());
case CSSPropertyMargin:
return valuesForSidesShorthand(marginShorthand());
case CSSPropertyOutline:
« no previous file with comments | « sky/engine/core/animation/css/CSSPropertyEquality.cpp ('k') | sky/engine/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698