[html5] r7815 - [] (0) WebIDL correctness Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id= [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 11 15:31:56 PDT 2013


Author: ianh
Date: 2013-04-11 15:31:55 -0700 (Thu, 11 Apr 2013)
New Revision: 7815

Modified:
   complete.html
   index
   source
Log:
[] (0) WebIDL correctness
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21588
Affected topics: DOM APIs, Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2013-04-11 22:25:54 UTC (rev 7814)
+++ complete.html	2013-04-11 22:31:55 UTC (rev 7815)
@@ -8312,7 +8312,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, optional boolean showUI = false, optional 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);
@@ -26886,7 +26886,7 @@
   readonly attribute <a href=#audiotracklist>AudioTrackList</a> <a href=#dom-media-audiotracks title=dom-media-audioTracks>audioTracks</a>;
   readonly attribute <a href=#videotracklist>VideoTrackList</a> <a href=#dom-media-videotracks title=dom-media-videoTracks>videoTracks</a>;
   readonly attribute <a href=#texttracklist>TextTrackList</a> <a href=#dom-media-texttracks title=dom-media-textTracks>textTracks</a>;
-  <a href=#texttrack>TextTrack</a> <a href=#dom-media-addtexttrack title=dom-media-addTextTrack>addTextTrack</a>(<a href=#texttrackkind>TextTrackKind</a> kind, optional DOMString label = '', optional DOMString language = '');
+  <a href=#texttrack>TextTrack</a> <a href=#dom-media-addtexttrack title=dom-media-addTextTrack>addTextTrack</a>(<a href=#texttrackkind>TextTrackKind</a> kind, optional DOMString label = "", optional DOMString language = "");
 };</pre>
 
   <p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>crossorigin</a></code>, <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>,
@@ -50835,7 +50835,7 @@
    <dd><code title=attr-option-value><a href=#attr-option-value>value</a></code> — Value to be used for <a href=#form-submission>form submission</a></dd>
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
-<pre class=idl>[NamedConstructor=<a href=#dom-option title=dom-option>Option</a>(optional DOMString text = '', optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
+<pre class=idl>[NamedConstructor=<a href=#dom-option title=dom-option>Option</a>(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
 interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute boolean <a href=#dom-option-disabled title=dom-option-disabled>disabled</a>;
   readonly attribute <a href=#htmlformelement>HTMLFormElement</a>? <a href=#dom-option-form title=dom-option-form>form</a>;

Modified: index
===================================================================
--- index	2013-04-11 22:25:54 UTC (rev 7814)
+++ index	2013-04-11 22:31:55 UTC (rev 7815)
@@ -8312,7 +8312,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, optional boolean showUI = false, optional 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);
@@ -26886,7 +26886,7 @@
   readonly attribute <a href=#audiotracklist>AudioTrackList</a> <a href=#dom-media-audiotracks title=dom-media-audioTracks>audioTracks</a>;
   readonly attribute <a href=#videotracklist>VideoTrackList</a> <a href=#dom-media-videotracks title=dom-media-videoTracks>videoTracks</a>;
   readonly attribute <a href=#texttracklist>TextTrackList</a> <a href=#dom-media-texttracks title=dom-media-textTracks>textTracks</a>;
-  <a href=#texttrack>TextTrack</a> <a href=#dom-media-addtexttrack title=dom-media-addTextTrack>addTextTrack</a>(<a href=#texttrackkind>TextTrackKind</a> kind, optional DOMString label = '', optional DOMString language = '');
+  <a href=#texttrack>TextTrack</a> <a href=#dom-media-addtexttrack title=dom-media-addTextTrack>addTextTrack</a>(<a href=#texttrackkind>TextTrackKind</a> kind, optional DOMString label = "", optional DOMString language = "");
 };</pre>
 
   <p>The <dfn id=media-element-attributes>media element attributes</dfn>, <code title=attr-media-src><a href=#attr-media-src>src</a></code>, <code title=attr-media-crossorigin><a href=#attr-media-crossorigin>crossorigin</a></code>, <code title=attr-media-preload><a href=#attr-media-preload>preload</a></code>, <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code>,
@@ -50835,7 +50835,7 @@
    <dd><code title=attr-option-value><a href=#attr-option-value>value</a></code> — Value to be used for <a href=#form-submission>form submission</a></dd>
    <dt><a href=#element-dfn-dom title=element-dfn-dom>DOM interface</a>:</dt><!--TOPIC:DOM APIs-->
    <dd>
-<pre class=idl>[NamedConstructor=<a href=#dom-option title=dom-option>Option</a>(optional DOMString text = '', optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
+<pre class=idl>[NamedConstructor=<a href=#dom-option title=dom-option>Option</a>(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
 interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmlelement>HTMLElement</a> {
            attribute boolean <a href=#dom-option-disabled title=dom-option-disabled>disabled</a>;
   readonly attribute <a href=#htmlformelement>HTMLFormElement</a>? <a href=#dom-option-form title=dom-option-form>form</a>;

Modified: source
===================================================================
--- source	2013-04-11 22:25:54 UTC (rev 7814)
+++ source	2013-04-11 22:31:55 UTC (rev 7815)
@@ -8016,7 +8016,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, optional boolean showUI = false, optional 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);
@@ -28433,7 +28433,7 @@
   readonly attribute <span>AudioTrackList</span> <span title="dom-media-audioTracks">audioTracks</span>;
   readonly attribute <span>VideoTrackList</span> <span title="dom-media-videoTracks">videoTracks</span>;
   readonly attribute <span>TextTrackList</span> <span title="dom-media-textTracks">textTracks</span>;
-  <span>TextTrack</span> <span title="dom-media-addTextTrack">addTextTrack</span>(<span>TextTrackKind</span> kind, optional DOMString label = '', optional DOMString language = '');
+  <span>TextTrack</span> <span title="dom-media-addTextTrack">addTextTrack</span>(<span>TextTrackKind</span> kind, optional DOMString label = "", optional DOMString language = "");
 };</pre>
 
   <p>The <dfn>media element attributes</dfn>, <code title="attr-media-src">src</code>, <code
@@ -60328,7 +60328,7 @@
    <dd><code title="attr-option-value">value</code></dd>
    <dt><span title="element-dfn-dom">DOM interface</span>:</dt><!--TOPIC:DOM APIs-->
    <dd>
-<pre class="idl">[NamedConstructor=<span title="dom-option">Option</span>(optional DOMString text = '', optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
+<pre class="idl">[NamedConstructor=<span title="dom-option">Option</span>(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
 interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
            attribute boolean <span title="dom-option-disabled">disabled</span>;
   readonly attribute <span>HTMLFormElement</span>? <span title="dom-option-form">form</span>;




More information about the Commit-Watchers mailing list