Document.execCommand should use optional arguments with default values
Posted from: 220.127.116.11
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20121203 Firefox/20.0
boolean execCommand(DOMString commandId, optional boolean showUI = false,
optional DOMString value = "");
Then http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#execcommand%28%29 wouldn't need to the first two steps it has right now.
Aryeh, do you want to just take execCommand entirely using a partial interface definition, rather than us having to coordinate IDL changes?
Alternatively, do you want this IDL change?
I'm not maintaining the editing spec actively right now, so if you want to keep the IDLs entirely to yourself, please do and I'll update the editing spec (at some point) to normatively reference HTML for the IDL definitions. This change seems like a good idea if there are no compat constraints.
Ok, I changed this. Reassigning to you to take care of any updates on your side.
Checked in as WHATWG revision r7734.
Check-in comment: tweak IDL to be shorter