[Webkit-unassigned] [Bug 246283] The size of <Img> with `contain:size` and css `asppect-ratio`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 10:09:39 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246283

Oriol Brufau <obrufau at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |obrufau at igalia.com

--- Comment #3 from Oriol Brufau <obrufau at igalia.com> ---
See https://drafts.csswg.org/css-contain/#size-containment

> Replaced elements must be treated as having a natural width and height of 0 and no natural aspect ratio.

'aspect-ratio: 90 / 53' is still obeyed, but if the natural sizes are 0 then I don't think it can have much effect?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221019/c9d6710e/attachment.htm>


More information about the webkit-unassigned mailing list