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

Test-case for the `HashSet` issue in Blink:

```html
<!doctype html>
<style>
  div {
    width: 100px;
    height: 100px;
    background: green;
  }
</style>
<div id="observeme"></div>
<script>
  let div = document.querySelector("#observeme");
  for (let i = 0; i < 100; ++i) {
    new ResizeObserver(function() {
      console.log(i);
    }).observe(div);
  }
</script>
```

The following example should output all the numbers from 0 to 99. In blink order is pretty random. That's clearly a bug.

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

Received on Wednesday, 20 November 2019 02:01:33 UTC