Re: [csswg-drafts] [resize-observer] The initial size of ResizeObservation (#3664)

The CSS Working Group just discussed `[resize-observer] The initial size of ResizeObservation`, and agreed to the following:

* `RESOLVED: When first observing an element with ResizeObserver, lastReportedSize gets initialized with a -1 x -1 size`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> Topic: [resize-observer] The initial size of ResizeObservation<br>
&lt;emeyer> github: https://github.com/w3c/csswg-drafts/issues/3664<br>
&lt;emeyer> emilio: FTF resolved that zero was not a special size for contain intrinsic size<br>
&lt;emeyer> …The resolution seems to include resizeObserver, but in chats with Oriol it evolved that wasn’t clear<br>
&lt;TabAtkins> +<br>
&lt;TabAtkins> q+<br>
&lt;emeyer> …Worth clarifying<br>
&lt;Rossen_> ack TabAtkins<br>
&lt;emeyer> TabAtkins: The resolution was not intended to apply to resizeObserver but I’m fine with it applying<br>
&lt;emeyer> …Consistency with things like c-i-s has me leaning to fire immediately and have an undefined size in resizeObserver<br>
&lt;emeyer> Rossen_: Any objections to the proposed resolution?<br>
&lt;emilio> When observing an element with ResizeObserver, lastReportedSize gets initialized with a -1x-1 size<br>
&lt;emeyer> RESOLVED: When first observing an element with ResizeObserver, lastReportedSize gets initialized with a -1 x -1 size<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3664#issuecomment-1218270926 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 16:54:32 UTC