Bug 236526
| Summary: | Style elements should not block scripts if media attribute value doesn't match | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Xiaocheng Hu <xiaochengh> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, csswizardry, koivisto, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Xiaocheng Hu
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/88943567>
Alexey Proskuryakov
*** Bug 245872 has been marked as a duplicate of this bug. ***