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 |