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 14d68311b17f126c16d86b27e5163038205b948e..cdae09ae44d7ca1281f7bb2c1df37c8d25da3842 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h |
@@ -485,6 +485,17 @@ inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a & |
enum EIsolation { IsolationAuto, IsolationIsolate }; |
+static const size_t EContainBits = 3; |
Timothy Loh
2015/12/02 02:49:47
I don't think the E prefix is the current style.
leviw_travelin_and_unemployed
2015/12/03 00:01:59
Changed. The style code is sadly quite inconsisten
|
+enum EContain { |
+ ContainsNone = 0x0, |
+ ContainsLayout = 0x1, |
+ ContainsStyle = 0x2, |
+ ContainsPaint = 0x4, |
+ ContainsStrict = 0x7 |
alancutter (OOO until 2018)
2015/12/02 02:48:17
I wonder if we're allowed to use 0b111.
leviw_travelin_and_unemployed
2015/12/03 00:02:00
I didn't try, but I changed it to ContainsStrict =
|
+}; |
+inline EContain operator| (EContain a, EContain b) { return EContain(int(a) | int(b)); } |
+inline EContain& operator|= (EContain& a, EContain b) { return a = a | b; } |
+ |
enum ItemPosition { |
ItemPositionAuto, |
ItemPositionStretch, |