Re: The picture element: complexity

On Thu, 12 Sep 2013 16:16:46 +0200, Erik Isaksen  
<erik_isaksen@hotmail.com> wrote:

> Simon,
>      srcset[x] doesn't seem to follow the same conventions as other  
> attributes. For consistency, what if it worked the same as your mediaset  
> attribute?

I don't follow.

> For example:
>  <img mediaset="(min-width: 45em), (min-width: 18em), all"
>           srcset="(large-1.jpg, med-1.jpg, small-1.jpg), (larse-2.jpg,  
> med-2.jpg, small-2.jpg)"
>           src="small-1.jpg"          alt="Accessible text">

This seems to no longer have the 1x and 2x information. But certainly you  
could put that in the attribute value instead of the attribute name.

-- 
Simon Pieters
Opera Software

Received on Thursday, 12 September 2013 14:35:06 UTC