[whatwg] <imgset> responsive imgs proposition (Re: The src-N proposal)
Tab Atkins Jr.
jackalmage at gmail.com
Fri Nov 15 14:50:41 PST 2013
On Fri, Nov 15, 2013 at 2:49 PM, Bjoern Hoehrmann <derhoermi at gmx.net> wrote:
> * 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.)
No. My point is that almost all of the syntax weight is the urls and
their descriptors, regardless of the approach. There is no compaction
scheme that helps here. (Unless you're trying for one of the
url-template ones, and we don't want to go there.)
More information about the whatwg