[whatwg] <picture> redux
Tab Atkins Jr.
jackalmage at gmail.com
Thu Nov 21 07:55:45 PST 2013
On Thu, Nov 21, 2013 at 1:39 AM, Simon Pieters <simonp at opera.com> wrote:
> On Wed, 20 Nov 2013 22:27:52 +0100, Tab Atkins Jr. <jackalmage at 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.
Yeah, either way seems reasonable, depending on how we want to balance
things. We can even offer UAs a choice of behaviors, so in
bandwidth-constrained situations they can be more conservative, but
otherwise optimistically download the image that might work.
More information about the whatwg