Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[resize-observer] Clarify external spec integrations #10512

Open
johannesodland opened this issue Jun 30, 2024 · 4 comments
Open

[resize-observer] Clarify external spec integrations #10512

johannesodland opened this issue Jun 30, 2024 · 4 comments

Comments

@johannesodland
Copy link

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
Copy link
Author

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

@emilio
Copy link
Collaborator

emilio commented Jul 1, 2024

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
Copy link
Contributor

Sounds ok to me

@johannesodland
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants