From fddbf10ee3e01cb75e1aa435092bd7223459075d Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Tue, 7 Jun 2022 16:41:31 -0700 Subject: [PATCH 1/2] Add a global event handler for beforeinput Also imported the input event from the UI events specifications, since that one defines it. Fixes #4526 (This PR is directly pulled from #4530, which can't land due to IP issues.) (This PR is a replacement for #6743, which I neglected for too long.) --- source | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source b/source index 51afed4b047..1098eafd03c 100644 --- a/source +++ b/source @@ -3171,9 +3171,11 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The UIEvent interface's view attribute
  • auxclick event
  • +
  • beforeinput event
  • click event
  • contextmenu event
  • dblclick event
  • +
  • input event
  • mousedown event
  • mouseenter event
  • mouseleave event
  • @@ -11930,6 +11932,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%