w3c/IntersectionObserver

Confusing language ‘on the target’/‘on the observer’ (editorial)

Closed this issue · 0 comments

In 3.3. IntersectionObserver Lifetime, the phrase

[…] until either unobserve(target) is called on the target, or disconnect() is called on the observer.

has the word ‘on’ twice. However, in ‘on the target’ the ‘target’ is the argument of the method, while in ‘on the observer’ the ‘observer’ is the object whose method is called.