- From: Joe Pea via GitHub <sysbot+gh@w3.org>
- Date: Sun, 30 Aug 2020 22:39:56 +0000
- To: public-css-archive@w3.org
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: https://lume.io/docs/#/examples/shadow-dom 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: https://codepen.io/trusktr/pen/eYZRwLy This _seems_ to be an indication of a browser bug. The code that creates the ResizeObserver is here: https://github.com/lume/lume/blob/abf7ad8fd7f33bdd7a3cbd6897f4a2b5433d7327/packages/lume/src/core/Scene.ts#L483-L517 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 https://github.com/w3c/csswg-drafts/issues/5487#issuecomment-683479629 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 30 August 2020 22:39:58 UTC