RESOLVED DUPLICATE of bug 165197 165198
|execCommand()| shouldn't fire 'beforeinput'
https://bugs.webkit.org/show_bug.cgi?id=165198
Summary |execCommand()| shouldn't fire 'beforeinput'
Chong Zhang
Reported 2016-11-30 08:17:16 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
*** This bug has been marked as a duplicate of bug 165197 ***
Note You need to log in before you can comment on or make changes to this bug.