WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 39455
248724
Safari does not take into account the "media" attribute in the <link> tag to prioritize the loading of connected CSS files
https://bugs.webkit.org/show_bug.cgi?id=248724
Summary
Safari does not take into account the "media" attribute in the <link> tag to ...
Karen Key
Reported
2022-12-03 16:38:40 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2022-12-04 18:08:41 PST
*** This bug has been marked as a duplicate of
bug 39455
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug