Re: [csswg-drafts] [resize-observer] In shipping browsers, observe() doesn't call unobserve() (#12902)

https://github.com/WebKit/WebKit/blob/6c7c731f37b5e5c3200d64d741291c0544b0c0cb/Source/WebCore/page/ResizeObserver.cpp#L79 has a similar note:

```
// The spec suggests unconditionally unobserving here, but that causes a test failure:
// https://github.com/web-platform-tests/wpt/issues/30708
```

Chromium has no such note, it bails out if the target is already observed. https://github.com/chromium/chromium/blob/b975af699670b7d458484a3a06a04bf7bed941c7/third_party/blink/renderer/core/resize_observer/resize_observer.cc#L76


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


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

Received on Saturday, 4 October 2025 14:29:15 UTC