Intent to prototype: CloseWatcher

347 views
Skip to first unread message

Keith Cirkel

unread,
Mar 29, 2024, 7:24:52 PMMar 29
to dev-pl...@mozilla.org

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:

Specification:

Standards Body:
  WHATWG

Platform coverage:
  all.

Preference:
  dom.closewatcher.enabled

DevTools bug:
 n/a.

Link to standards-positions discussion:

Other browsers:
  Blink: Shipping.


web-platform-tests:
Reply all
Reply to author
Forward
0 new messages