[csswg-drafts] [css-sizing] Is the last remembered size recorded if there is size containment in a single axis? (#7529)

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

== [css-sizing] Is the last remembered size recorded if there is size containment in a single axis? ==
From https://drafts.csswg.org/css-sizing-4/#last-remembered

> At the time that [ResizeObserver](https://drafts.csswg.org/resize-observer-1/#resizeobserver) events are determined and delivered, if an element has [contain-intrinsic-size: auto](https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-size), is capable of being a [ResizeObserver](https://drafts.csswg.org/resize-observer-1/#resizeobserver) target, **but does not have [size containment](https://drafts.csswg.org/css-contain-2/#size-containment)**, record the current inner dimensions of its [principal box](https://drafts.csswg.org/css-display-3/#principal-box) as its [last remembered size](https://drafts.csswg.org/css-sizing-4/#last-remembered).

What if the element has [`contain: inline-size`](https://drafts.csswg.org/css-contain-3/#containment-inline-size)?

 - The dimensions are recorded as the last remembered size, as would happen with no containment.
 - The dimensions are not recorded as the last remembered size, as would happen with full size containment.
 - Only the block dimension is recorded as the last remembered block size. This would imply that the dimensions are recorded independently, and probably it should be the same when `contain-intrinsic-size` has `auto` in a single axis (#7516).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 23 July 2022 00:55:31 UTC