WebCore:
[WebKit-https.git] / WebCore / dom / Document.cpp
index 54dd569..570c5c2 100644 (file)
@@ -1950,6 +1950,9 @@ void Document::removePendingSheet()
 #endif
 
     updateStyleSelector();
+    
+    if (!m_pendingStylesheets && m_tokenizer)
+        m_tokenizer->executeScriptsWaitingForStylesheets();
 
     if (!m_pendingStylesheets && m_gotoAnchorNeededAfterStylesheetsLoad && m_frame)
         m_frame->loader()->gotoAnchor();