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

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

Issue 1070313003: Remove page-break properties and captions (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 2a6898775c155a8cfe7ba35e523116ae466546c1..0782b1186fd60f4fb3eacefe64d167cb4aab48e2 100644
--- a/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
+++ b/sky/engine/core/css/CSSComputedStyleDeclaration.cpp
@@ -107,7 +107,6 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyBottom,
CSSPropertyBoxShadow,
CSSPropertyBoxSizing,
- CSSPropertyCaptionSide,
CSSPropertyClip,
CSSPropertyColor,
CSSPropertyDirection,
@@ -148,9 +147,6 @@ static const CSSPropertyID staticComputableProperties[] = {
CSSPropertyPaddingLeft,
CSSPropertyPaddingRight,
CSSPropertyPaddingTop,
- CSSPropertyPageBreakAfter,
- CSSPropertyPageBreakBefore,
- CSSPropertyPageBreakInside,
CSSPropertyPointerEvents,
CSSPropertyPosition,
CSSPropertyRight,
@@ -1362,8 +1358,6 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
case CSSPropertyBoxShadow:
case CSSPropertyWebkitBoxShadow:
return valueForShadowList(style->boxShadow(), *style, true);
- case CSSPropertyCaptionSide:
- return cssValuePool().createValue(style->captionSide());
case CSSPropertyColor:
return cssValuePool().createColorValue(m_allowVisitedStyle ? style->colorIncludingFallback(CSSPropertyColor).rgb() : style->color().rgb());
case CSSPropertyTabSize:
@@ -1580,17 +1574,6 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert
return pixelValueForLength(paddingLeft, *style);
return pixelValue(toRenderBox(renderer)->computedCSSPaddingLeft(), *style);
}
- case CSSPropertyPageBreakAfter:
- return cssValuePool().createValue(style->pageBreakAfter());
- case CSSPropertyPageBreakBefore:
- return cssValuePool().createValue(style->pageBreakBefore());
- case CSSPropertyPageBreakInside: {
- EPageBreak pageBreak = style->pageBreakInside();
- ASSERT(pageBreak != PBALWAYS);
- if (pageBreak == PBALWAYS)
- return nullptr;
- return cssValuePool().createValue(style->pageBreakInside());
- }
case CSSPropertyPosition:
return cssValuePool().createValue(style->position());
case CSSPropertyRight:
« no previous file with comments | « sky/engine/core/animation/DeferredLegacyStyleInterpolationTest.cpp ('k') | sky/engine/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698