- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Fri, 03 Oct 2025 23:31:26 +0000
- To: public-css-archive@w3.org
https://searchfox.org/firefox-main/rev/dcdbc805276cd5bf131cac2dbf53dda1538a32d5/dom/base/ResizeObserver.cpp#278-284 has this explanation:
```
// Already observed this target and the observed box is the same, so
// return.
// Note: Based on the spec, we should unobserve it first. However,
// calling Unobserve() when we observe the same box will remove original
// ResizeObservation and then add a new one, this may cause an unexpected
// result because ResizeObservation stores the mLastReportedSize which
// should be kept to make sure IsActive() returns the correct result.
```
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12902#issuecomment-3367542681 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 3 October 2025 23:31:27 UTC