- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 Jul 2024 16:34:26 +0000
- To: public-css-archive@w3.org
Gecko at least uses the [current](https://html.spec.whatwg.org/multipage/webappapis.html#concept-current-everything) global's document at the point of construction of the observer. I think that's also what WebKit does given the `CurrentDocument` [here](https://searchfox.org/wubkat/rev/00b3d6a56f5149245b9e1501389ae169846ec240/Source/WebCore/page/ResizeObserver.idl#33). Not quite sure what Blink does / what the ScriptState corresponds to there... @chrishtr do you know? In any case, it seems `current` on construction is probably the most straight-forward answer here. This is observable via callback order, cc @Loirooriol -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10516#issuecomment-2200592701 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 1 July 2024 16:34:27 UTC