On Sun, Jul 12, 2015 at 11:52 PM, Elliott Sprehn <espr...@chromium.org> wrote: > This is what I had in mind as well. Also it occurs to me there's a missing > primitive here for how the browser knows that all listeners have mayCancel: > false so it can make this optimization. EventTarget needs some kind of > method like: > > boolean hasOnlyPassiveEventListeners(DOMString type) > > so the scroll system can query if all listeners have mayCancel: false to > make the optimization.
That would make event listeners observable. -- https://annevankesteren.nl/