Index: Source/core/style/ComputedStyle.h |
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h |
index e8f1dd447b7c3da63b8cea7aa1f136bd3b89779c..d1df9b096d29e0ff801c9360ca7d53df5fe2995b 100644 |
--- a/Source/core/style/ComputedStyle.h |
+++ b/Source/core/style/ComputedStyle.h |
@@ -415,6 +415,8 @@ public: |
bool hasAppearance() const { return appearance() != NoControlPart; } |
+ bool isBackgroundColorCurrentColor() const { return backgroundColor().isCurrentColor() || visitedLinkBackgroundColor().isCurrentColor(); } |
+ |
bool hasBackground() const |
{ |
Color color = visitedDependentColor(CSSPropertyBackgroundColor); |