Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 907fab8937fd9d5ad6643381f7253b40452160cf..7d09b8e9c22cf708242edb9795192f6fa288ab10 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -1197,6 +1197,7 @@ void ComputedStyle::UpdateIsStackingContext(bool is_document_element, |
HasTransformRelatedProperty() || HasMask() || ClipPath() || |
BoxReflect() || HasFilterInducingProperty() || HasBackdropFilter() || |
HasBlendMode() || HasIsolation() || HasViewportConstrainedPosition() || |
+ GetPosition() == EPosition::kSticky || |
HasPropertyThatCreatesStackingContext(WillChangeProperties()) || |
ContainsPaint()) { |
SetIsStackingContext(true); |