On 1/6/14 12:42 PM, Yoav Weiss wrote:
I don't know much about Gecko's implementation of the preloader, so I could be wrong, but from looking at nsHtml5TreeOpExecutor, it seems like in Gecko (similarly to current Blink) the preloader's products are sent to the main thread before the actual resource loading takes place.
That's correct.But the main thread may _also_ not be in a position to evaluate, or even parse, a media query that early in the load process in Gecko....
-Boris