Re: [csswg-drafts] [resize-observer] "loop limit exceeded" only when making window smaller, but not when making it bigger. (#5487)

I think this is a browser bug.

The following is the demo that gives me the error. it is inside the iframe to the right of the code box. Try to make the window smaller to trigger the error:

Now here is an exact replica of the demo, this time running in a Codepen iframe, and there is no such error no matter how you resize your window:

This _seems_ to be an indication of a browser bug.

The code that creates the ResizeObserver is here:

As you see in that code, it logs `Make new resize observer!`, and this appears in the console only _once_. There is only a single ResizeObserver that observes the `div` element, and the ResizeObserver _**does not touch the div element, does not change its size in any way.**_

Does anyone else think this seems like a browser bug?

GitHub Notification of comment by trusktr
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Sunday, 30 August 2020 22:39:58 UTC