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

(I might miss the meeting this morning - likely be around for the end - but want to make sure that we generally keep ResizeObserver timing for this feature). The ResizeObserver timing is important for a few reasons.
1. The lifetime of boxes aren't defined. E.g. all engines have subtle rules around when the box-tree is re-built, when nodes are re-used, etc. For example in Blink fieldsets can cause re-attachment where in other implementations they don't (one among many examples).
2. What APIs trigger layout (and how much layout) isn't defined. E.g. for offsetLeft/etc. you can currently have a conforming implementation which performs a partial layout just to answer the offsetLeft query for example. We shouldn't tie more side-effects to forced-sync-layouts lightly.

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


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

Received on Wednesday, 17 August 2022 15:15:40 UTC