Re: [csswg-drafts] [resize-observer-1] Firing observations on insert/remove when rendered size is (0, 0) (#7808)

> I like your idea of having a [] size, which is the same as what I wrote about a nullable last size. That should fix all the issues without the need for -1,-1 initialization, right?

Initializing to [] wouldn't trigger an observation when first observing an element with no box (if that also uses []). This wouldn't be consistent with IntersectionObserver.

> the distinction is that I'm proposing the nullable state to be an internal detail and continue to expose 0x0 to the API

Yes, that's a possibility.

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


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

Received on Thursday, 29 September 2022 13:48:53 UTC