summaryrefslogtreecommitdiffstats
path: root/WebCore/editing/DeleteButtonController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/editing/DeleteButtonController.cpp')
-rw-r--r--WebCore/editing/DeleteButtonController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/DeleteButtonController.cpp b/WebCore/editing/DeleteButtonController.cpp
index d999f84..24c8270 100644
--- a/WebCore/editing/DeleteButtonController.cpp
+++ b/WebCore/editing/DeleteButtonController.cpp
@@ -133,7 +133,7 @@ static bool isDeletableElement(const Node* node)
if (!parentStyle)
return false;
- if (style->hasBackground() && (!parentStyle->hasBackground() || style->backgroundColor() != parentStyle->backgroundColor()))
+ if (renderer->hasBackground() && (!parentRenderer->hasBackground() || style->visitedDependentColor(CSSPropertyBackgroundColor) != parentStyle->visitedDependentColor(CSSPropertyBackgroundColor)))
return true;
}