[csswg-drafts] [css-sizing] Intrinsic Size of Images with Intrinsic Aspect Ratio and No Size

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing] Intrinsic Size of Images with Intrinsic Aspect Ratio and No Size ==
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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1609 using your GitHub account

Received on Tuesday, 18 July 2017 00:05:00 UTC