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

IntersectionObserver's delay/trackVisibility and IntersectionObserverEntry's isVisible missing from main spec #468

Open
foolip opened this issue Jan 28, 2021 · 5 comments

Comments

@foolip
Copy link
Member

foolip commented Jan 28, 2021

https://w3c.github.io/IntersectionObserver/v2/ has a number of additions compared to https://w3c.github.io/IntersectionObserver/ which are shipped in at least some browsers, but https://w3c.github.io/IntersectionObserver/ (and https://www.w3.org/TR/intersection-observer/) are much more discoverable.

Is it time to promote https://w3c.github.io/IntersectionObserver/ to v2 so that the most up-to-date spec is more easily found?

Background: I was here to file issues about certain attributes not being in the spec, and found the v2 spec only after reading through Intent to Ship: IntersectionObserver V2.

@foolip
Copy link
Member Author

foolip commented Jan 28, 2021

Hmm, but looking at https://w3c.github.io/IntersectionObserver/v2/#idl-index and the date, it seems like v2 isn't the version of the spec being maintained.

For clarity, members that are missing from https://w3c.github.io/IntersectionObserver/ are IntersectionObserver.prototype.delay, IntersectionObserver.prototype.trackVisibility and IntersectionObserverEntry.prototype.isVisible. I'll rename the issue to make it clear that's the point of this.

cc @szager-chromium

@foolip foolip changed the title Make v2 the default spec? IntersectionObserver's delay/trackVisibility and IntersectionObserverEntry's isVisible missing from main spec Jan 28, 2021
@astearns
Copy link
Member

astearns commented Sep 1, 2023

"Shipped in at least some browsers" seems to be just Blink.

https://caniuse.com/intersectionobserver-v2

I haven’t found the place where these things were even proposed to other browsers. Looks like we need to re-start the process for these.

@foolip
Copy link
Member Author

foolip commented Feb 16, 2024

What's the status of this?

The TAG and Mozilla were made aware of this proposal here:
mozilla/standards-positions#109
w3ctag/design-reviews#328

https://github.com/WebKit/standards-positions did not exist at the time.

The feature is used by over 6% of Chrome page loads by now:
https://chromestatus.com/metrics/feature/timeline/popularity/3051

@BasixKOR
Copy link

Also opened an issue there: szager-chromium#8

Leaving this link for future reference.

@dontcallmedom
Copy link
Member

#523 seems to be addressing this FTR

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

No branches or pull requests

4 participants