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

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

Issue 1078943002: remove 'widows' property because paged media support is gone so this does nothing now (Closed) Base URL: https://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
« no previous file with comments | « sky/engine/core/animation/css/CSSPropertyEquality.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
index 811de98546ebf1069ebf7cd850620c94c5d84412..3ba509a04f8998c4ae8de6f50772612df193d250 100644
--- a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
+++ b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
@@ -178,7 +178,6 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyUnicodeBidi,
CSSPropertyVerticalAlign,
CSSPropertyWhiteSpace,
- CSSPropertyWidows,
CSSPropertyWidth,
CSSPropertyWillChange,
CSSPropertyWordBreak,
@@ -1707,10 +1706,6 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return nullptr;
case CSSPropertyWhiteSpace:
return cssValuePool().createValue(style->whiteSpace());
- case CSSPropertyWidows:
- if (style->hasAutoWidows())
- return cssValuePool().createIdentifierValue(CSSValueAuto);
- return cssValuePool().createValue(style->widows(), CSSPrimitiveValue::CSS_NUMBER);
case CSSPropertyWidth:
if (renderer) {
// According to http://www.w3.org/TR/CSS2/visudet.html#the-width-property,
« no previous file with comments | « sky/engine/core/animation/css/CSSPropertyEquality.cpp ('k') | sky/engine/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698