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

Boris Zbarsky bzbarsky at MIT.EDU
Mon May 14 09:46:19 PDT 2012


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



More information about the whatwg mailing list