Blank page except for inner iframes because pending stylesheets cause style.isNotFina...
[WebKit-https.git] / Source / WebCore / ChangeLog
index 43d3e4f..34757f9 100644 (file)
@@ -1,3 +1,24 @@
+2018-01-09  Antti Koivisto  <antti@apple.com>
+
+        Blank page except for inner iframes because pending stylesheets cause style.isNotFinal() to be true
+        https://bugs.webkit.org/show_bug.cgi?id=180940
+        <rdar://problem/36116507>
+
+        Reviewed by Darin Adler.
+
+        Test: http/tests/local/loading-stylesheet-import-remove.html
+
+        If a <link> referencing a stylesheet containing an @import that was still loading was removed
+        from the document, the loading state was never cleared. For head stylesheets this blocked
+        rendering permanently.
+
+        Test reduction by Justin Ridgewell.
+
+        * html/HTMLLinkElement.cpp:
+        (WebCore::HTMLLinkElement::removedFromAncestor):
+
+        Test if the stylesheet it loading before clearing the pointer.
+
 2018-01-09  Dan Bernstein  <mitz@apple.com>
 
         Removed some empty directories that were left behind