Index: Source/core/html/HTMLStyleElement.cpp |
diff --git a/Source/core/html/HTMLStyleElement.cpp b/Source/core/html/HTMLStyleElement.cpp |
index 2d6b0366b2c7dfb82f4dc3a313d291c0a170a04d..b169020abd187730862e1df95edb3b59fa79acb7 100644 |
--- a/Source/core/html/HTMLStyleElement.cpp |
+++ b/Source/core/html/HTMLStyleElement.cpp |
@@ -143,7 +143,7 @@ void HTMLStyleElement::dispatchPendingEvent(StyleEventSender* eventSender) |
void HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources(LoadedSheetErrorStatus errorStatus) |
{ |
- if (m_firedLoad) |
+ if (m_firedLoad && errorStatus == NoErrorLoadingSubresource) |
return; |
m_loadedSheet = (errorStatus == NoErrorLoadingSubresource); |
styleLoadEventSender().dispatchEventSoon(this); |