Re: [csswg-drafts] [css-sizing-4] Clarify spec about when elements are allowed to not have a last remembered size (#6220)

No strong opinion, but maybe I would even expect to remove the last remembered size during the first layout after removing `auto`, even if there hasn't been any `ResizeObserver` opportunity.

```js
// Assume last remembered size is 100px
element.style.containIntrinsicSize = "none";
element.offsetLeft; // Forces sync layout, clears remembered size?
element.style.containIntrinsicSize = "auto 0px"; // Re-add "auto" before ResizeObserver opportunity
element.style.contain = "size";
```

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6220#issuecomment-830711439 using your GitHub account


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

Received on Saturday, 1 May 2021 23:58:42 UTC