This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/ Multipage: http://www.whatwg.org/C#the-document-object Complete: http://www.whatwg.org/c#the-document-object Comment: Document.execCommand should use optional arguments with default values Posted from: 173.48.81.109 User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20121203 Firefox/20.0
Something like: 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 http://html5.org/tools/web-apps-tracker?from=7733&to=7734
Removing the URL so it's no longer tracked by the HTML Standard since it's fixed there.