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

Re: [whatwg] <picture> redux

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 20 Nov 2013 15:19:09 -0800
Message-ID: <CAAWBYDDgqYGFdWc9cRyu6GySRtEEiOf5uufx42brwrd24gEFtw@mail.gmail.com>
To: Markus Ernst <derernst@gmx.ch>
Cc: WHATWG List <whatwg@whatwg.org>
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.

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

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