csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[css-sizing] Last remembered size for non-atomic inlines?

Open Loirooriol opened this issue 3 years ago • 0 comments

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.

Does this record the size of a non-atomic inline element? If so, how is that size defined?

Is it like in https://drafts.csswg.org/resize-observer-1/#content-rect-h ?

non-replaced inline Elements will always have an empty content rect.

Loirooriol avatar Aug 15 '22 12:08 Loirooriol