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 5dd19f8a4ccbf6b31a18c234b14f22b4c6f70557..7fe04c2a8c92dbde1858302fa80333fb170d9b63 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -1204,7 +1204,7 @@ void ComputedStyle::updateIsStackingContext(bool isDocumentElement, |
hasOpacity() || hasTransformRelatedProperty() || hasMask() || |
clipPath() || boxReflect() || hasFilterInducingProperty() || |
hasBackdropFilter() || hasBlendMode() || hasIsolation() || |
- hasViewportConstrainedPosition() || |
+ hasViewportConstrainedPosition() || position() == EPosition::kSticky || |
hasPropertyThatCreatesStackingContext(willChangeProperties()) || |
containsPaint()) { |
setIsStackingContext(true); |