w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.46k stars 657 forks source link

[resize-observer] Clarify external spec integrations #10512

Open johannesodland opened 3 months ago

johannesodland commented 3 months ago

The Intersection Observer specification has a section on External Spec Integrations that makes the integration with the HTML Event Loops Processing Model clear.

I have not been able to find a similar reference in the Resize Observer specification.

Should a similar section be added to the Resize Observer specification, to make it clear that the algorithms are called during the HTML event loop?

johannesodland commented 3 months ago

Hope it’s ok that I tag you here, @Loirooriol and @emilio

emilio commented 3 months ago

I mean, I think the only reason that's the case in intersection observer is because it used to be a monkey-patch... But sure I guess a note mentioning it's used from the HTML event loop is fine? I'd take such a PR unless Oriol objects :)

Loirooriol commented 3 months ago

Sounds ok to me

johannesodland commented 3 months ago

I mean, I think the only reason that's the case in intersection observer is because it used to be a monkey-patch... But sure I guess a note mentioning it's used from the HTML event loop is fine? I'd take such a PR unless Oriol objects :)

I've attempted to add a note in #10512.