NEW236526
Style elements should not block scripts if media attribute value doesn't match
https://bugs.webkit.org/show_bug.cgi?id=236526
Summary Style elements should not block scripts if media attribute value doesn't match
Xiaocheng Hu
Reported 2022-02-11 14:21:20 PST
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
Attachments
Radar WebKit Bug Importer
Comment 1 2022-02-14 19:57:43 PST
Alexey Proskuryakov
Comment 2 2022-09-30 15:02:45 PDT
*** Bug 245872 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.