W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2015

Re: [whatwg] A mask="" advisory flag for <link rel=icon>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 16 Jun 2015 14:47:23 -0700
Message-ID: <CAAWBYDB8aDNMmenF4LLEb1VUEakmEYSnEFHEy-bbkkR81_zSiw@mail.gmail.com>
To: Elliott Sprehn <esprehn@chromium.org>
Cc: WHAT Working Group <whatwg@whatwg.org>, Edward O'Connor <eoconnor@apple.com>
On Tue, Jun 16, 2015 at 2:36 PM, Elliott Sprehn <esprehn@chromium.org> wrote:
> On Tue, Jun 16, 2015 at 2:33 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> On Tue, Jun 16, 2015 at 2:25 PM, Elliott Sprehn <esprehn@chromium.org>
>> wrote:
>> > On Tue, Jun 16, 2015 at 2:22 PM, Tab Atkins Jr. <jackalmage@gmail.com>
>> > wrote:
>> >> On Tue, Jun 16, 2015 at 2:07 PM, Elliott Sprehn <esprehn@chromium.org>
>> >> wrote:
>> >> > sizes is a generic feature that's available for all image resources.
>> >>
>> >> No it's not; <img sizes> and <link sizes> are completely unrelated.
>> >
>> > :( That's really confusing:
>> >
>> > https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-sizes
>>
>> Non-global attributes aren't global. Who knew. ^_^
>
> Well, two elements that both load image resources and both have an attribute
> named sizes that do different things isn't very good developer ergonomics.
> href isn't global either, but I'd be sad if we added a new element where it
> was interpreted as something besides a url.

Yeah, you're not wrong.  I simply didn't remember that <link sizes>
existed when I designed <img sizes>.  If we could redo that, I might
have chosen a different name.

~TJ
Received on Tuesday, 16 June 2015 21:48:08 UTC

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