W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Problems with width/height descriptors in srcset

From: Matthew Wilcox <mail@matthewwilcox.com>
Date: Thu, 17 May 2012 19:15:36 +0100
Message-ID: <CAMCRKiKqDjJKqs-TPYNc0uwoeA23HuWsFRxWkMTrBpzH86bvUw@mail.gmail.com>
To: Jeremy Keith <jeremy@adactio.com>
Cc: whatwg@lists.whatwg.org
I also agree with Tab and Jeremy on this one - that makes a lot more
sense to me and removes any ambiguity without being overly verbose.

> I asked:
>> Related question: do we still want to keep this unit-less i.e. ditch the "px" from the examples above? Or, if we're going to use this CSS-like syntax anyway, allow other units of measurement (e.g. ems).
>
> And Tab replied:
>> No, if we're aping the CSS syntax more closely, we should just use CSS units.
>
> I agree. Seems like the sensible approach. It also allows authors who are using ems for their media queries in CSS to also use ems for their srcset declarations.
>
> Jeremy
Received on Thursday, 17 May 2012 18:16:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT