...
> But that's exactly my point! The w/h descriptors are sufficient *only* for
> art direction, where you want to swap between completely different images
> (or at least different crops of the same image), based on viewport size, to
> match other changes occurring in your responsive design as th
On Wed, Aug 22, 2012 at 5:19 PM, Tab Atkins Jr. wrote:
> On Wed, Aug 22, 2012 at 4:22 AM, John Mellor wrote:
> > On Wednesday, August 22, 2012, Tab Atkins Jr. wrote:
> >> Let's assume that, instead, you're trying to serve two versions of the
> >> image: one for small screens and one for larger sc
On Wed, Aug 22, 2012 at 4:22 AM, John Mellor wrote:
> On Wednesday, August 22, 2012, Tab Atkins Jr. wrote:
>> I doubt this is actually what you want, though - you're probably not
>> actually trying to cater to devices with an 8:1 pixel ratio! (Those
>> may not ever exist, even if technology does
On Wednesday, August 22, 2012, Tab Atkins Jr. wrote:
> On Tue, Aug 21, 2012 at 4:28 PM, John Mellor wrote:
> > Take the simple example above where
> > you have the same image saved in 4 sizes -- 320.jpg, 640.jpg, 1280.jpg
> and
> > 2560.jpg, named after their widths -- and you need it to scale ac
On Tue, Aug 21, 2012 at 4:28 PM, John Mellor wrote:
> On Tue, Aug 21, 2012 at 8:31 PM, Tab Atkins Jr.
> wrote:
>>
>> On Tue, Aug 21, 2012 at 12:20 PM, John Mellor wrote:
>> > 1. Neither is of any use for flexibly-sized images.
>>
>> This is what Media Queries and the similar 'w' and 'h' tokens i
On Tue, Aug 21, 2012 at 8:31 PM, Tab Atkins Jr. wrote:
> On Tue, Aug 21, 2012 at 12:20 PM, John Mellor wrote:
> > 1. Neither is of any use for flexibly-sized images.
>
> This is what Media Queries and the similar 'w' and 'h' tokens in
> @srcset are for. You can create one pair of 1x/2x images fo
On Tue, Aug 21, 2012 at 12:31 PM, Tab Atkins Jr. wrote:
> On Tue, Aug 21, 2012 at 12:20 PM, John Mellor wrote:
>> CSS image-set and HTML img srcset are getting their first implementations
>> but both APIs have serious shortcomings. We should fix them before it's too
>> late:
>>
>> 1. Neither is o
On Tue, Aug 21, 2012 at 12:20 PM, John Mellor wrote:
> CSS image-set and HTML img srcset are getting their first implementations
> but both APIs have serious shortcomings. We should fix them before it's too
> late:
>
> 1. Neither is of any use for flexibly-sized images.
> 2. srcset isn't as smart/