Re: [whatwg] An alternative to <picture> and srcset, is this realistic?

On 5/14/12 11:55 AM, Tab Atkins Jr. wrote:
> That's why I mentioned an inline<style>  at the top of the<body>  -
> I'm not sure if browsers skip past that when building the tree or not,

They certainly skip past such things when prefetching.

Putting information that needs to affect prefetching in elements where 
the HTML tokenizer can extract it is vastly better than putting it into 
elements where it can't (like <style>).

-Boris

Received on Monday, 14 May 2012 16:47:15 UTC