[Webkit-unassigned] [Bug 248724] New: Safari does not take into account the "media" attribute in the <link> tag to prioritize the loading of connected CSS files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 3 16:38:40 PST 2022


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

            Bug ID: 248724
           Summary: Safari does not take into account the "media"
                    attribute in the <link> tag to prioritize the loading
                    of connected CSS files
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jkqmccihgnrwfo at karenkey.com

Safari does not take into account the "media" attribute in the <link> tag to prioritize the loading of CSS files. All browsers based on based Chromium and Firefox do this correctly.

The browser should respect the "media" attribute and give more priority to files associated with the current @media conditions. And also do not wait for unnecessary files and do not delay rendering while they are loading.

This behavior is also described and encouraged in this MDN article: 
https://developer.mozilla.org/en-US/docs/Learn/Performance/CSS
And here:
https://nednex.com/en/split-your-css-to-media-related-files-to-improve-performance-significantly/

Thank you so much for your invaluable work, I hope this important optimization will be in WebKit as soon as possible.

-- 
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/20221204/b12a388c/attachment.htm>


More information about the webkit-unassigned mailing list