Index: Source/WebCore/css/CSSStyleSelector.cpp |
=================================================================== |
--- Source/WebCore/css/CSSStyleSelector.cpp (revision 98066) |
+++ Source/WebCore/css/CSSStyleSelector.cpp (working copy) |
@@ -2174,7 +2174,7 @@ |
if (startIndex == -1) |
return; |
- if (m_element && m_element->isLink()) { |
+ if (m_style->insideLink() != NotInsideLink) { |
for (int i = startIndex; i <= endIndex; ++i) { |
CSSMutableStyleDeclaration* styleDeclaration = m_matchedDecls[i].styleDeclaration; |
unsigned linkMatchType = m_matchedDecls[i].linkMatchType; |