Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index df10f0186e3dbde0e5ff054e2a3df995e4989d32..f41c77cea76e9b8568b017c0b5d5f12bf73c8f7c 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -3709,7 +3709,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
} |
static bool isDisplayInlineType(EDisplay display) { |
- return display == EDisplay::Inline || isDisplayReplacedType(display); |
+ return display == EDisplay::Inline || display == EDisplay::Contents || |
+ isDisplayReplacedType(display); |
rune
2017/02/09 09:41:10
display:contents is neither an inline, nor block t
emilio
2017/02/09 11:49:37
Replaced content was ignored in that CL, but actua
|
} |
static bool isDisplayTableType(EDisplay display) { |