NEW 165197
|execCommand()| shouldn't fire 'beforeinput'
https://bugs.webkit.org/show_bug.cgi?id=165197
Summary |execCommand()| shouldn't fire 'beforeinput'
Chong Zhang
Reported 2016-11-30 08:16:03 PST
According to https://github.com/w3c/editing/issues/43 'beforeinput' should only be fired for user actions. Firing it for |execCommand()| might cause some nested events. Or do we want to change the spec? Reproduce Steps [Release 18 (Safari 10.1, WebKit 12603.1.12)]: 1. Go to https://jsbin.com/tevepaw 2. Focus the text 3. Wait for 2 seconds 4. Notice that both 'beforeinput'/'input' will be logged
Attachments
Alexey Proskuryakov
Comment 1 2016-12-01 10:34:38 PST
*** Bug 165198 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.