[whatwg] <picture> redux

Simon Pieters simonp at opera.com
Thu Nov 21 01:39:26 PST 2013


On Wed, 20 Nov 2013 22:27:52 +0100, Tab Atkins Jr. <jackalmage at gmail.com>  
wrote:

> 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


More information about the whatwg mailing list