Open
Description
From https://drafts.csswg.org/css-sizing-4/#last-remembered
At the time that ResizeObserver events are determined and delivered, if an element has contain-intrinsic-size: auto, is capable of being a ResizeObserver target, but does not have size containment, record the current inner dimensions of its principal box as its last remembered size.
What if the element has contain: 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
hasauto
in a single axis ([css-sizing] Last remembered size relies on unclearcontain-intrinsic-size: auto
#7516).
Metadata
Metadata
Assignees
Type
Projects
Status
Tuesday