Re: [w3c/uievents] Unclear when input events are triggered (#145)

Why are these events specced in two places?  Which is authoritative?

Should they be fired for execCommand()?  Normally this corresponds to a user action as well, e.g., Ctrl-B triggering execCommand("bold").  (I think WebKit/Blink will fire this from the browser.)  Implementation-wise, it's easier to not distinguish between actual user input and insertText, for instance.  Certainly direct DOM manipulation should not fire them.

@masayuki-nakano @rniwa (who does editing at Blink?)

I'm trying to implement .data on input events now for Firefox, and without a clear spec it's rather hard.  Good tests would make it far easier, but wpt doesn't support synthesizing user input yet.  :(

-- 
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/uievents/issues/145#issuecomment-322192901

Received on Monday, 14 August 2017 13:42:01 UTC