[webkit-dev] Request for position on mapping a source's width/height attributes to width/height/aspect-ratio CSS properties on the <img> in a <picture>

Christian Biesinger cbiesinger at google.com
Fri Feb 12 13:29:01 PST 2021


Hello webkit-dev,

I would like to request an official position on the HTML spec change
described in this pull request:
https://github.com/whatwg/html/pull/5894/files

Together with https://github.com/whatwg/html/pull/6032, this means
that width/height attributes on a <source> element inside a <picture>
will get mapped to CSS properties width/height/aspect-ratio on the
<img> in the <picture>.

Thanks,
Christian


More information about the webkit-dev mailing list