Re: [csswg-drafts] [css-sizing] What happens with the last remembered size is there is no principal box? (#7527)

Also important for removals:

> At the time that [ResizeObserver](https://drafts.csswg.org/resize-observer-1/#resizeobserver) events are determined and delivered, if an element has a [last remembered size](https://drafts.csswg.org/css-sizing-4/#last-remembered) but does not have [contain-intrinsic-size: auto](https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-size), remove its last remembered size.

Browsers don't typically compute the style of elements in `display: none` subtrees. So it would be bad to compute it just to check whether `contain-intrinsic-size: auto` was lost in order to know whether the last remembered size needs to be removed.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7527#issuecomment-1193042664 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 02:36:28 UTC