[Webkit-unassigned] [Bug 236526] New: Style elements should not block scripts if media attribute value doesn't match

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 11 14:21:20 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236526

            Bug ID: 236526
           Summary: Style elements should not block scripts if media
                    attribute value doesn't match
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xiaochengh at chromium.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220211/d8bf5bb7/attachment.htm>


More information about the webkit-unassigned mailing list