Closed
Description
So, we just checked in some rules for handling replaced elements with no intrinsic size:
https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes
These are modeled after the rules in CSS2.1 chapter 10. We'd appreciate review, for sure.
Additionally, there is one case which is totally undefined in CSS2.1: intrinsic aspect ratio, no size, and the containing block depends on the size of the image. (Example: an SVG with a viewbox, no width/height attributes, inside an auto-sized float) This is a very unusual case, and our suggestion for handling it is to do what we do for orthogonal flows: use the stretch fit into the nearest scroll container.
Agenda+ for WG review of the new text and for determining what to do in the latter case.