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

Add IntersectionObserver v2 #1210

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add IntersectionObserver v2 #1210

wants to merge 1 commit into from

Conversation

foolip
Copy link
Member

@foolip foolip commented Feb 15, 2024

No description provided.

Copy link
Member

@dontcallmedom dontcallmedom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have https://www.w3.org/TR/intersection-observer/ in the list, which points to https://w3c.github.io/IntersectionObserver/ which seems more recently updated than "https://w3c.github.io/IntersectionObserver/v2/"

@foolip
Copy link
Member Author

foolip commented Feb 15, 2024

https://w3c.github.io/IntersectionObserver/v2/ includes things that aren't in v1, namely the trackVisibility parameter for the IntersectionObserver constructor and the isVisible attribute on IntersectionObserverEntry.

I'm adding this because I need it for web-platform-dx/web-features#620, AFAIK this is the only spec that describes the additions.

@szager as the listed editor of the v2 spec, do you have thoughts?

@dontcallmedom
Copy link
Member

see also w3c/IntersectionObserver#468 from a certain @foolip :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants