[Webkit-unassigned] [Bug 88869] renderer should not block on script-inserted stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 18 12:35:51 PDT 2012


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





--- Comment #21 from Ilya Grigorik <ilya at igvita.com>  2012-06-18 12:35:49 PST ---
(In reply to comment #19)
> Can you test and see what FF does (blocking vs non-blocking) when a media query is present in a script-node inserted sheet?

FF doesn't appear to respect media queries on script inserted stylesheets. WebKit does (currently). 

With respect to doc.write's, there are also differences between WebKit and FF: 

Test: http://jsbin.com/3/omulof/12/quiet
Result: https://img.skitch.com/20120618-twkgw1c7jrsp9c2c4gwrm35k6d.jpg

- FF loads the script inserted stylesheet in parallel with doc.write
- multiple doc.write calls in FF result in parallel downloads, and serialized downloads in WebKit

So, in FF, doc.write is "sort off" blocking - you need to rely on script tag boundaries.

-- 
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