Index: Source/core/editing/iterators/TextIterator.cpp |
diff --git a/Source/core/editing/iterators/TextIterator.cpp b/Source/core/editing/iterators/TextIterator.cpp |
index 79cd9300c05fb4be633219a2f2e968dc9c1b2f6d..f9a8ee021ba31e07b36943287024f52bbc63c0db 100644 |
--- a/Source/core/editing/iterators/TextIterator.cpp |
+++ b/Source/core/editing/iterators/TextIterator.cpp |
@@ -450,6 +450,9 @@ bool TextIteratorAlgorithm<Strategy>::handleTextNode() |
return true; |
} |
+ if (layoutObject->style()->visitedDependentColor(CSSPropertyColor) == Color::transparent) |
+ return false; |
+ |
if (layoutObject->firstTextBox()) |
m_textBox = layoutObject->firstTextBox(); |