Skip to content

Commit

Permalink
[] (0) WebIDL correctness
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21588
Affected topics: DOM APIs, Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@7815 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 11, 2013
1 parent a267162 commit e261e9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions complete.html
Expand Up @@ -8312,7 +8312,7 @@ <h3 id=documents><span class=secno>3.1 </span>Documents</h3>
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);
Expand Down Expand Up @@ -26886,7 +26886,7 @@ <h4 id=media-elements><span class=secno>4.8.10 </span>Media elements</h4>
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>,
Expand Down Expand Up @@ -50835,7 +50835,7 @@ <h4 id=the-option-element><span class=secno>4.10.12 </span>The <dfn><code>option
<dd><code title=attr-option-value><a href=#attr-option-value>value</a></code> &mdash; 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>;
Expand Down
6 changes: 3 additions & 3 deletions index
Expand Up @@ -8312,7 +8312,7 @@ partial /*sealed*/ interface <dfn id=document>Document</dfn> {
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);
Expand Down Expand Up @@ -26886,7 +26886,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
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>,
Expand Down Expand Up @@ -50835,7 +50835,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<dd><code title=attr-option-value><a href=#attr-option-value>value</a></code> &mdash; 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>;
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -8016,7 +8016,7 @@ partial /*sealed*/ interface <dfn>Document</dfn> {
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);
Expand Down Expand Up @@ -28433,7 +28433,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
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
Expand Down Expand Up @@ -60328,7 +60328,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
<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>;
Expand Down

0 comments on commit e261e9a

Please sign in to comment.