Re: [whatwg] <picture> redux

On Wed, Nov 20, 2013 at 2:37 PM, Markus Ernst <derernst@gmx.ch> wrote:
> Something that just came to my mind: Unlike srcset and src-N, <picture> has
> the power to support MQs beyond viewport width:

I'm not sure where this belief that src-N doesn't support arbitrary
MQs comes from.  The syntax doesn't support media *types* (screen,
print, etc), but media types are being deprecated *anyway*, and we're
designing new media features that replace them.

(Sorry to single you out - Adam Barth was under this impression as
well.  The spec just has this quite explicitly featured, so I'm
confused about it.)

> <picture>
>   <source media="screen" src=...>
>   <source media="print" src=...>
>   <img src=...>
> </picture>
>
> The UA will have to download both sources, or printing will be delayed. Is
> this a problem?

Printing can just be delayed.

~TJ

Received on Wednesday, 20 November 2013 23:19:54 UTC