Index: third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
index 2ddb80fae9f6a40f71d30510116d6827e75ad9a0..2e0b83e810fdafcc4d0dd706a091a814d780d949 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
@@ -374,6 +374,22 @@ enum TextDecorationStyle { |
TextDecorationStyleWavy |
}; |
+static const size_t TextDecorationSkipBits = 3; |
+enum TextDecorationSkip { |
+ TextDecorationSkipNone = 0x0, |
+ TextDecorationSkipObjects = 0x1, |
+ TextDecorationSkipInk = 0x2 |
+}; |
+inline TextDecorationSkip operator|(TextDecorationSkip a, |
+ TextDecorationSkip b) { |
+ return TextDecorationSkip(static_cast<unsigned>(a) | |
+ static_cast<unsigned>(b)); |
+} |
+inline TextDecorationSkip& operator|=(TextDecorationSkip& a, |
+ TextDecorationSkip b) { |
+ return a = a | b; |
+} |
+ |
enum TextAlignLast { |
TextAlignLastAuto, |
TextAlignLastStart, |