[whatwg] Features for responsive Web design

Edward O'Connor eoconnor at apple.com
Wed Aug 8 09:44:27 PDT 2012


Hi Markus,

You wrote:

> Anyway, with your proposal, would this be valid, to address the
> bandwidth-only use case?:
>
> <img src="normal.jpg" alt="" srcset="high.jpg 2x, normal.jpg 1x">

You don't need the ", normal.jpg 1x" because src="" has an implied 1x.
The above could simply be done like so:

<img src="normal.jpg" alt="appropriate alt text" srcset="high.jpg 2x">


Ted



More information about the whatwg mailing list