The HTML spec wasn't clear about this, and is being revised at: https://github.com/whatwg/html/pull/7601 WPT test cases under html/semantics/document-metadata/interactions-of-styling-and-scripting/ will soon be added. There is also a live test case available at: https://purring-various-felidae.glitch.me/delayed-import-media-mismatch.html Expected behavior: The <style> shouldn't block scripts, so a number smaller than 1000 should be shown Actual behavior The <style> blocks scripts, then a number greater than 1000 is shown
<rdar://problem/88943567>
*** Bug 245872 has been marked as a duplicate of this bug. ***