[Webkit-unassigned] [Bug 106198] New: PreloadScanner loads external CSS with non-matching MQ before first paint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 6 14:10:07 PST 2013


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

           Summary: PreloadScanner loads external CSS with non-matching MQ
                    before first paint
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yoav at yoav.ws


The PreloadScanner currently loads external style sheets with a non-matching media query, as long as the media type is "screen".
This can result in unnecessary delay to the page's first paint. 
Since these resources are labeled as "very low priority" in HTMLLinkElement (even though this is not currently acted upon in Chrome. See https://bugs.webkit.org/show_bug.cgi?id=105919), I don't think preloading them is useful.

I attach a patch that avoids preloading non-matching external stylesheets.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list