Index: Source/core/dom/TreeScopeStyleSheetCollection.cpp |
diff --git a/Source/core/dom/TreeScopeStyleSheetCollection.cpp b/Source/core/dom/TreeScopeStyleSheetCollection.cpp |
index b5e680fab6b3db92861c2758e7727c07b0e8768d..7009fff9331ce4ae8c152ab259b438f8f2a72163 100644 |
--- a/Source/core/dom/TreeScopeStyleSheetCollection.cpp |
+++ b/Source/core/dom/TreeScopeStyleSheetCollection.cpp |
@@ -187,6 +187,17 @@ void TreeScopeStyleSheetCollection::enableExitTransitionStylesheets() |
} |
} |
+void TreeScopeStyleSheetCollection::disableExitTransitionStylesheets() |
+{ |
+ DocumentOrderedList::iterator begin = m_styleSheetCandidateNodes.begin(); |
+ DocumentOrderedList::iterator end = m_styleSheetCandidateNodes.end(); |
+ for (DocumentOrderedList::iterator it = begin; it != end; ++it) { |
+ Node* node = *it; |
+ if (isHTMLLinkElement(*node)) |
+ toHTMLLinkElement(node)->disableIfExitTransitionStyle(); |
+ } |
+} |
+ |
static bool styleSheetsUseRemUnits(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& sheets) |
{ |
for (unsigned i = 0; i < sheets.size(); ++i) { |