| Summary: | Media conditions don’t affect CSS loading priorities | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Vadim Makeev <hi> | ||||
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Normal | CC: | achristensen, ahmad.saleem792, beidson, karlcow, koivisto, mjs, nicolas, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=39455 https://bugs.webkit.org/show_bug.cgi?id=244154 |
||||||
| Attachments: |
|
||||||
|
Description
Vadim Makeev
2022-08-01 13:37:47 PDT
Might be a worthwhile optimization. Do you know any real world sites that are affected? (In reply to Antti Koivisto from comment #2) > Do you know any real world sites that > are affected? There’s https://www.gov.uk/ website, for example. On the main page there are four CSS files linked, two of them with media="print": <link rel="stylesheet" media="print" href="https://www.gov.uk/assets/static/print-53da7f13c2fb1115b956c35ef5e0898aa48fd2e0457f82692fdf8d16ed2e2626.css"> <link rel="stylesheet" href="/assets/frontend/print-4999bb4fdea0b565c697e98b104fb7bd59065c43de8ef05798bf71279618e981.css" media="print"> 57 KB + 6 KB = 63 KB of styles that aren’t render-blocking. In Chrome and Firefox, these are loaded with the Lowest priority and don’t block the rendering. Hey Vadim, That looks like a duplicate or related to Bug 39455 Hi Karl :) Nice catch! Looks like the same issue to me. Feel free to close one in favor of another, whichever looks best for future work. Let’s dupe this to the older bug. |