Emilio Cobos Álvarez
unread,Sep 25, 2019, 8:37:38 PM9/25/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Christian Biesinger, Boris Zbarsky, Chris Harrelson, Florian Rivoal, Malte Ubl, Simon Pieters, Philip Jägenstedt, blink-dev, Jen Simmons, Elika Etemad
No, you hadn't, fwiw. This is my fault, and indeed I had a comment in
Gecko saying "this goes through a lot of elements and is not great".
I think this is on me, and I should fix Gecko before shipping it so it
only applies to <img>, at least until somebody has a more coherent proposal.
Otherwise, what Gecko implements is basically "anything that can get an
image frame (~LayoutImage) except for 'content: url()' and maps the
width and height attributes to style".
I don't think that's a particularly great thing to spec (even more so
since Blink's implementation is at layout time rather than at attribute
mapping time).
I propose to start with <img> and then whitelist other elements if
wanted / needed. Filed [1] for this.
-- Emilio
[1]:
https://bugzilla.mozilla.org/show_bug.cgi?id=1583980