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

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

From: Elliott Sprehn <esprehn@chromium.org>
Date: Tue, 16 Jun 2015 14:36:35 -0700
Message-ID: <CAO9Q3i+2M1spCrfch+1a40m61NJ3+qy51KqEuYBemL=qQ4JSDg@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: WHAT Working Group <whatwg@whatwg.org>, Edward O'Connor <eoconnor@apple.com>
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.

- E
Received on Tuesday, 16 June 2015 21:37:41 UTC

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