[html5] r7734 - [e] (0) tweak IDL to be shorter Fixing https://www.w3.org/Bugs/Public/show_bug.c [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Mar 6 12:44:41 PST 2013


Author: ianh
Date: 2013-03-06 12:44:39 -0800 (Wed, 06 Mar 2013)
New Revision: 7734

Modified:
   complete.html
   index
   source
Log:
[e] (0) tweak IDL to be shorter
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20302
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2013-03-06 20:23:48 UTC (rev 7733)
+++ complete.html	2013-03-06 20:44:39 UTC (rev 7734)
@@ -8341,9 +8341,7 @@
   readonly attribute <a href=#element>Element</a>? <a href=#dom-document-activeelement title=dom-document-activeElement>activeElement</a>;
   boolean <a href=#dom-document-hasfocus title=dom-document-hasFocus>hasFocus</a>();
            attribute DOMString <a href=#designMode title=dom-document-designMode>designMode</a>;
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId);
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, boolean showUI);
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, boolean showUI, DOMString value);
+  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, optional boolean showUI = false, optional DOMString value = '');
   boolean <a href=#dom-document-querycommandenabled title=dom-document-queryCommandEnabled>queryCommandEnabled</a>(DOMString commandId);
   boolean <a href=#dom-document-querycommandindeterm title=dom-document-queryCommandIndeterm>queryCommandIndeterm</a>(DOMString commandId);
   boolean <a href=#dom-document-querycommandstate title=dom-document-queryCommandState>queryCommandState</a>(DOMString commandId);
@@ -75933,6 +75931,7 @@
   </div>
 
 
+<!--CLEANUP-->
   <h4 id=best-practices-for-in-page-editors><span class=secno>8.6.3 </span>Best practices for in-page editors</h4>
 
   <p>Authors are encouraged to set the 'white-space' property on <a href=#editing-host title="editing host">editing hosts</a> and on markup that was

Modified: index
===================================================================
--- index	2013-03-06 20:23:48 UTC (rev 7733)
+++ index	2013-03-06 20:44:39 UTC (rev 7734)
@@ -8341,9 +8341,7 @@
   readonly attribute <a href=#element>Element</a>? <a href=#dom-document-activeelement title=dom-document-activeElement>activeElement</a>;
   boolean <a href=#dom-document-hasfocus title=dom-document-hasFocus>hasFocus</a>();
            attribute DOMString <a href=#designMode title=dom-document-designMode>designMode</a>;
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId);
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, boolean showUI);
-  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, boolean showUI, DOMString value);
+  boolean <a href=#execCommand title=dom-document-execCommand>execCommand</a>(DOMString commandId, optional boolean showUI = false, optional DOMString value = '');
   boolean <a href=#dom-document-querycommandenabled title=dom-document-queryCommandEnabled>queryCommandEnabled</a>(DOMString commandId);
   boolean <a href=#dom-document-querycommandindeterm title=dom-document-queryCommandIndeterm>queryCommandIndeterm</a>(DOMString commandId);
   boolean <a href=#dom-document-querycommandstate title=dom-document-queryCommandState>queryCommandState</a>(DOMString commandId);
@@ -75933,6 +75931,7 @@
   </div>
 
 
+<!--CLEANUP-->
   <h4 id=best-practices-for-in-page-editors><span class=secno>8.6.3 </span>Best practices for in-page editors</h4>
 
   <p>Authors are encouraged to set the 'white-space' property on <a href=#editing-host title="editing host">editing hosts</a> and on markup that was

Modified: source
===================================================================
--- source	2013-03-06 20:23:48 UTC (rev 7733)
+++ source	2013-03-06 20:44:39 UTC (rev 7734)
@@ -8050,9 +8050,7 @@
   readonly attribute <span>Element</span>? <span title="dom-document-activeElement">activeElement</span>;
   boolean <span title="dom-document-hasFocus">hasFocus</span>();
            attribute DOMString <span title="dom-document-designMode">designMode</span>;
-  boolean <span title="dom-document-execCommand">execCommand</span>(DOMString commandId);
-  boolean <span title="dom-document-execCommand">execCommand</span>(DOMString commandId, boolean showUI);
-  boolean <span title="dom-document-execCommand">execCommand</span>(DOMString commandId, boolean showUI, DOMString value);
+  boolean <span title="dom-document-execCommand">execCommand</span>(DOMString commandId, optional boolean showUI = false, optional DOMString value = '');
   boolean <span title="dom-document-queryCommandEnabled">queryCommandEnabled</span>(DOMString commandId);
   boolean <span title="dom-document-queryCommandIndeterm">queryCommandIndeterm</span>(DOMString commandId);
   boolean <span title="dom-document-queryCommandState">queryCommandState</span>(DOMString commandId);
@@ -88471,6 +88469,7 @@
   </div>
 
 
+<!--CLEANUP-->
   <h4>Best practices for in-page editors</h4>
 
   <p>Authors are encouraged to set the 'white-space' property on <span




More information about the Commit-Watchers mailing list