w3c / IntersectionObserver

Intersection Observer
https://www.w3.org/TR/intersection-observer/
Other
3.62k stars 531 forks source link

Fix thresholds definition to match browsers. #516

Closed emilio closed 9 months ago

emilio commented 9 months ago

https://github.com/web-platform-tests/wpt/commit/8c0296b50bf3974677e024c04d45b3ff8b0e801e tested that thresholds when provided empty is [0].

This is not in the spec, but is reasonable and I'm happy to change Firefox to match this, given both WebKit and Blink do that.

The following tasks have been completed:

Implementation commitment:


Preview | Diff