*Summary*: CloseWatcher is a new primitive that consolidates the various mechanisms for closing floating UI (dialogs, popovers, fullscreen) abstracting away from the input method (esc keypress, touch gesture etc), as well as allowing web developers to implement their own watchers of these gestures.
I intend to prototype this out in Gecko. *Bug*: https://bugzilla.mozilla.org/show_bug.cgi?id=1859702. *Specification*: https://html.spec.whatwg.org/multipage/interaction.html#the-closewatcher-interface *Standards Body*: WHATWG *Platform coverage*: all. *Preference*: dom.closewatcher.enabled *DevTools bug*: n/a. *Link to standards-positions discussion*: https://github.com/mozilla/standards-positions/issues/604. *Other browsers*: Blink: Shipping. WebKit: No Signals (https://github.com/WebKit/standards-positions/issues/215). *web-platform-tests*: https://wpt.fyi/results/close-watcher?label=master&label=experimental&aligned -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/ce0185a1-575d-4de0-ba1d-3565fa74ba82%40app.fastmail.com.
