Index: Source/WebCore/css/CSSImportRule.cpp |
=================================================================== |
--- Source/WebCore/css/CSSImportRule.cpp (revision 114709) |
+++ Source/WebCore/css/CSSImportRule.cpp (working copy) |
@@ -140,7 +140,7 @@ |
CSSStyleSheet* rootSheet = parentSheet; |
for (CSSStyleSheet* sheet = parentSheet; sheet; sheet = sheet->parentStyleSheet()) { |
// FIXME: This is wrong if the finalURL was updated via document::updateBaseURL. |
- if (absHref == sheet->finalURL().string()) |
+ if (absHref == sheet->finalURL().string() || absHref == sheet->href()) |
return; |
rootSheet = sheet; |
} |