[Webkit-unassigned] [Bug 243424] Media conditions don’t affect CSS loading priorities

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 2 08:48:20 PDT 2022


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

--- Comment #3 from Vadim Makeev <pepelsbey at gmail.com> ---
(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.

-- 
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/20220802/b603e45d/attachment.htm>


More information about the webkit-unassigned mailing list