W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 15 Nov 2013 23:49:05 +0100
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <t39d89p1e7tqrbgkacffdstn8qmoik41ce@hive.bjoern.hoehrmann.de>
Cc: whatwg <whatwg@lists.whatwg.org>
* Tab Atkins Jr. wrote:
>On Fri, Nov 15, 2013 at 2:39 PM, Ian Hickson <ian@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@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/ 
Received on Friday, 15 November 2013 22:49:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC