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

Unified Diff: Source/core/rendering/style/RenderStyleConstants.h

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed a typo in css-properties-as-js-properties-expected-expected.txt Created 7 years, 7 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/rendering/style/RenderStyleConstants.h
diff --git a/Source/core/rendering/style/RenderStyleConstants.h b/Source/core/rendering/style/RenderStyleConstants.h
index eea12ff5b27121de4249def2c99d91fe56e3e623..ac899b953d6b8f648b4193db89cecac7defcd9d6 100644
--- a/Source/core/rendering/style/RenderStyleConstants.h
+++ b/Source/core/rendering/style/RenderStyleConstants.h
@@ -340,15 +340,12 @@ inline ETextDecoration& operator|=(ETextDecoration& a, ETextDecoration b) { retu
enum TextDecorationStyle {
TextDecorationStyleSolid,
-#if ENABLE(CSS3_TEXT)
TextDecorationStyleDouble,
TextDecorationStyleDotted,
TextDecorationStyleDashed,
TextDecorationStyleWavy
-#endif // CSS3_TEXT
};
-#if ENABLE(CSS3_TEXT)
enum TextAlignLast {
TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft, TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify
};
@@ -357,7 +354,6 @@ enum TextUnderlinePosition {
// FIXME: Implement support for 'under left' and 'under right' values.
TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, TextUnderlinePositionUnder = 0x4
};
-#endif // CSS3_TEXT
enum EPageBreak {
PBAUTO, PBALWAYS, PBAVOID
@@ -494,9 +490,7 @@ enum DraggableRegionMode { DraggableRegionNone, DraggableRegionDrag, DraggableRe
// Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows).
static const float maximumAllowedFontSize = 1000000.0f;
-#if ENABLE(CSS3_TEXT)
enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
-#endif
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698