Index: Source/core/layout/style/LayoutStyle.cpp |
diff --git a/Source/core/layout/style/LayoutStyle.cpp b/Source/core/layout/style/LayoutStyle.cpp |
index 3915a94c7683873de695056165c52574f38d721e..bf50043a9b45a551b2e07fbf890d38fc9539c87b 100644 |
--- a/Source/core/layout/style/LayoutStyle.cpp |
+++ b/Source/core/layout/style/LayoutStyle.cpp |
@@ -667,7 +667,13 @@ bool LayoutStyle::diffNeedsPaintInvalidationObject(const LayoutStyle& other) con |
|| rareNonInheritedData->m_objectFit != other.rareNonInheritedData->m_objectFit |
|| rareNonInheritedData->m_objectPosition != other.rareNonInheritedData->m_objectPosition |
|| !rareNonInheritedData->shapeOutsideDataEquivalent(*other.rareNonInheritedData.get()) |
- || !rareNonInheritedData->clipPathDataEquivalent(*other.rareNonInheritedData.get())) |
+ || !rareNonInheritedData->clipPathDataEquivalent(*other.rareNonInheritedData.get()) |
+ || (visitedLinkBorderLeftColor() != other.visitedLinkBorderLeftColor() && borderLeftWidth()) |
+ || (visitedLinkBorderRightColor() != other.visitedLinkBorderRightColor() && borderRightWidth()) |
+ || (visitedLinkBorderBottomColor() != other.visitedLinkBorderBottomColor() && borderBottomWidth()) |
+ || (visitedLinkBorderTopColor() != other.visitedLinkBorderTopColor() && borderTopWidth()) |
+ || (visitedLinkOutlineColor() != other.visitedLinkOutlineColor() && outlineWidth()) |
+ || (visitedLinkBackgroundColor() != other.visitedLinkBackgroundColor())) |
return true; |
} |