- From: Aleksandar Totic via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Sep 2024 03:19:11 +0000
- To: public-css-archive@w3.org
> implicitly unobserves element if there are no JS references to it I assume what they meant is: RO will unobserve an unreachable element. Unreachable element is an element that has been removed from DOM, and has no JS references. This makes sense, if the element is not in DOM, and is unreachable by JS, it will never change size again. > Is this true for other browsers as well? I am not sure how other browsers implement RO. My guess is that they all do, otherwise they'd have memory leaks. How would you test this behavior? The element size will forever remain 0, 0, so the RO will never fire again. You might be able to test it by watching for memory leaks. -- GitHub Notification of comment by atotic Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5155#issuecomment-2327834412 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 September 2024 03:19:12 UTC