On Tue, Jun 16, 2015 at 2:36 PM, Elliott Sprehn <espr...@chromium.org> wrote: > On Tue, Jun 16, 2015 at 2:33 PM, Tab Atkins Jr. <jackalm...@gmail.com> > wrote: >> On Tue, Jun 16, 2015 at 2:25 PM, Elliott Sprehn <espr...@chromium.org> >> wrote: >> > On Tue, Jun 16, 2015 at 2:22 PM, Tab Atkins Jr. <jackalm...@gmail.com> >> > wrote: >> >> On Tue, Jun 16, 2015 at 2:07 PM, Elliott Sprehn <espr...@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