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

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