- From: Simon Fraser via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 Sep 2021 03:57:09 +0000
- To: public-css-archive@w3.org
smfr has just created a new issue for https://github.com/w3c/csswg-drafts:
== [resize-observer] Following spec logic results in many more "resize loop error notifications" than are sent by Chrome ==
Implementing https://drafts.csswg.org/resize-observer/ per spec results in multiple resize loop error notifications firing in the following WPT:
```
resize-observer/observe.html
resize-observer/notify.html
```
yet running these tests in Chrome does not result in the errors showing in the Console.
For example, `test5()` in observe.html modifies the image width inside the callback:
```
setup: observer => {
img.style.width = "15.5px";
},
```
which, if I follow the spec logic correctly, should result in skipped observation because it's at the same depth as the observation being delivered.
I noted this same issue in the context of WPT here: https://github.com/web-platform-tests/wpt/issues/30708
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6610 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 14 September 2021 03:57:11 UTC