Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2379803003: CSS backdrop-filter other than 'none' should force stacking context. (Closed)
Patch Set: rebased & update expectation Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8f25370944eca8b348490f545b9e2da401d5dbe1..02eea0f6587edb6a8075da4312ea0833f0120b80 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -1159,7 +1159,8 @@ void ComputedStyle::updateIsStackingContext(bool isDocumentElement,
if (isDocumentElement || isInTopLayer || styleType() == PseudoIdBackdrop ||
hasOpacity() || hasTransformRelatedProperty() || hasMask() ||
clipPath() || boxReflect() || hasFilterInducingProperty() ||
- hasBlendMode() || hasIsolation() || hasViewportConstrainedPosition() ||
+ hasBackdropFilter() || hasBlendMode() || hasIsolation() ||
+ hasViewportConstrainedPosition() ||
hasPropertyThatCreatesStackingContext(willChangeProperties()) ||
containsPaint()) {
setIsStackingContext(true);

Powered by Google App Engine
This is Rietveld 408576698