W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 14 May 2012 12:46:19 -0400
Message-ID: <4FB136DB.1030500@mit.edu>
To: whatwg@lists.whatwg.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT