Re: [csswg-drafts] [resize-observer] ResizeObserver callback order. (#4518)

```js
var ro1 = new ResizeObserver(() => console.log("1"));
var ro2 = new ResizeObserver(() => console.log("2"));
ro2.observe(document.body);
ro1.observe(document.body);
```

WebKit and Gecko: 2, 1
Blink and spec: 1, 2

https://bugzilla.mozilla.org/show_bug.cgi?id=1596992#c10 explains how Blink did it without leaks.

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


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

Received on Saturday, 10 September 2022 00:28:38 UTC