Index: Source/core/html/imports/HTMLImportsController.cpp |
diff --git a/Source/core/html/imports/HTMLImportsController.cpp b/Source/core/html/imports/HTMLImportsController.cpp |
index 6ab9eda24fa868f094bed8676ca158feaa30b8b3..daae5cb4ca3821294d4b0a357b912af9d9f51e3d 100644 |
--- a/Source/core/html/imports/HTMLImportsController.cpp |
+++ b/Source/core/html/imports/HTMLImportsController.cpp |
@@ -151,7 +151,7 @@ bool HTMLImportsController::hasLoader() const |
bool HTMLImportsController::isDone() const |
{ |
- return !m_master->parsing(); |
+ return !m_master->parsing() && m_master->haveStylesheetsLoaded(); |
} |
void HTMLImportsController::stateDidChange() |