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

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

Issue 1637143002: Layers that have a backdrop-filter should paints contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « third_party/WebKit/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: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 26f7320010e555eb7f9e02b38971f02276784a07..268febfdfc42389eea5a155541ddbbff646aa092 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -417,6 +417,7 @@ public:
bool hasMarginAfterQuirk() const { return marginAfter().quirk(); }
bool hasBackgroundImage() const { return m_background->background().hasImage(); }
+ bool hasBackgroundImageOrBackdropFilter() const { return hasBackgroundImage() || hasBackdropFilter(); }
bool hasFixedBackgroundImage() const { return m_background->background().hasFixedImage(); }
bool hasEntirelyFixedBackground() const;
@@ -437,7 +438,7 @@ public:
Color color = visitedDependentColor(CSSPropertyBackgroundColor);
if (color.alpha())
return true;
- return hasBackgroundImage();
+ return hasBackgroundImageOrBackdropFilter();
pdr. 2016/01/27 05:52:09 Is this tested? This was my concern in the previou
jaydasika 2016/01/27 23:59:42 Ah, I see your point. I think we should have a sep
}
LayoutRectOutsets imageOutsets(const NinePieceImage&) const;
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxDecorationData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698