[w3c/editing] proposal: create execCommand test folder + modify execCommand spec (#194)

Hey,
there is currently a spec in the input events spec test folder that deals with execCommand [1]. It tests whether execCommand only emit an `input` event and no `beforeinput` event. It fails if it emits a `beforeinput` event. It also checks if the execCommands create errors.

The problem with this is that this behavior is not actually specified in any spec. The input events spec is not concerned with execCommand at all. The execCommand spec specifies that there should be beforeinput/input events [3]. I propose to:

* Change the `execCommand` spec draft [2] so that it says that execcommands should emit `input` events but no `beforeinput` events.
* Move this test to a new execCommand folder.


[1] https://github.com/web-platform-tests/wpt/blob/master/input-events/input-events-exec-command.html

[2] http://w3c.github.io/editing/execCommand.html

[3] http://w3c.github.io/editing/execCommand.html#methods-to-query-and-execute-commands

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/194

Received on Tuesday, 2 July 2019 06:52:01 UTC