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

Unified Diff: Source/core/style/ComputedStyle.h

Issue 1327973002: blink: Layers that have a backdrop-filter paints contents Base URL: https://chromium.googlesource.com/chromium/blink.git@wk-bf
Patch Set: and make assert match expectations Created 5 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
« no previous file with comments | « Source/core/paint/BoxDecorationData.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyle.h
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h
index a52eabc06ef1b7b06dd4ff4666441073408d3f64..87b4be4a33905be38df9355b5ff8374f8789c366 100644
--- a/Source/core/style/ComputedStyle.h
+++ b/Source/core/style/ComputedStyle.h
@@ -422,7 +422,7 @@ public:
Color color = visitedDependentColor(CSSPropertyBackgroundColor);
if (color.alpha())
return true;
- return hasBackgroundImage();
+ return hasBackgroundImage() || hasBackdropFilter();
pdr. 2015/09/04 22:42:13 I think we need to return hasBackdropFilter from h
}
LayoutRectOutsets imageOutsets(const NinePieceImage&) const;
« no previous file with comments | « Source/core/paint/BoxDecorationData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698