Index: Source/core/css/resolver/MatchedPropertiesCache.cpp |
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.cpp b/Source/core/css/resolver/MatchedPropertiesCache.cpp |
index 9ccacbae42bb66f69ed6074b1116019cb5741f40..7b70393d135e0f908fc78c82eab8ffc9bda280ba 100644 |
--- a/Source/core/css/resolver/MatchedPropertiesCache.cpp |
+++ b/Source/core/css/resolver/MatchedPropertiesCache.cpp |
@@ -174,9 +174,6 @@ void MatchedPropertiesCache::sweep(Timer<MatchedPropertiesCache>*) |
bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle) |
{ |
- // FIXME: CSSPropertyWebkitWritingMode modifies state when applying to document element. We can't skip the applying by caching. |
- if (element == element->document().documentElement() && element->document().writingModeSetOnDocumentElement()) |
- return false; |
if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique())) |
return false; |
if (style->hasAppearance()) |