W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

Re: [whatwg] <picture> redux

From: Simon Pieters <simonp@opera.com>
Date: Thu, 21 Nov 2013 10:39:26 +0100
To: "WHATWG List" <whatwg@whatwg.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <op.w6v7r0tnidj3kv@simons-macbook-pro.local>
On Wed, 20 Nov 2013 22:27:52 +0100, Tab Atkins Jr. <jackalmage@gmail.com>  

> We don't need to actually limit the MQs which are allowed in
> <picture>.  The preloader is just an optimization in the first place;
> we *want* the image to be preloaded, but if it isn't, the image will
> still work, just slower.  We can provide a note about which types of
> MQs are likely to be recognized by the preloader.  Unrecognized MQs
> can just cause the preloader to ignore that <source>, and if that
> means an incorrect source is selected, that's just a wasted download,

Or maybe instead it should ignore the entire <picture> if it is unable to  
evaluate a MQ, to avoid the wasted download.

> but back on the main thread, the source selection algorithm will pick
> the right picture a little bit later.

Simon Pieters
Opera Software
Received on Thursday, 21 November 2013 09:40:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC