Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index ebaa903a39c876845428c9f71fc889bc35ced02e..3174e2fc5229bcb7fcf86f0ee08f7c5ff9e71861 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1674,6 +1674,8 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() |
style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTransform)); |
} |
+ style->updateIsStackingContext(this == document().documentElement(), isInTopLayer()); |
+ |
return style.release(); |
} |