[whatwg] <imgset> responsive imgs proposition (Re: The src-N proposal)

Bjoern Hoehrmann derhoermi at gmx.net
Fri Nov 15 14:49:05 PST 2013


* Tab Atkins Jr. wrote:
>On Fri, Nov 15, 2013 at 2:39 PM, Ian Hickson <ian at hixie.ch> wrote:
>> On Fri, 15 Nov 2013, Tab Atkins Jr. wrote:
>>> These examples... do not look good.
>>
>> I presume you mean that they don't look good in the <style> case, but
>> actually, I don't know if that's accurate. Don't forget that in many cases
>> the page will have multiple such images. You have to duplicated the img-*
>> markup in each case. You only have to give the <style> block once.
>
>Nope, you'll be duplicating per-image in both cases.

(There is always an option to introduce one of the many macro proposals,
or to make a dedicated at-rule or similar feature to avoid duplication.)
-- 
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 



More information about the whatwg mailing list