Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
index ff610fc7505eb5cb88eae2596ef7f27a8ba0df42..3a4247727322a96de340332400d513012a930bf1 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -199,7 +199,8 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl |
|| style.hasIsolation() |
|| style.position() == FixedPosition |
|| isInTopLayer(element, style) |
- || hasWillChangeThatCreatesStackingContext(style))) |
+ || hasWillChangeThatCreatesStackingContext(style) |
+ || style.containsPaint())) |
chrishtr
2015/12/09 01:41:46
Does this work with inline elements?
leviw_travelin_and_unemployed
2015/12/09 21:09:24
Yurp yurp yurp. But there were no tests, which is
|
style.setZIndex(0); |
if (doesNotInheritTextDecoration(style, element)) |