Skip to content

Commit

Permalink
[agiow] (0) Be consistent with getElementById('').
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10749

git-svn-id: http://svn.whatwg.org/webapps@5576 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 4, 2010
1 parent 118a2b4 commit 282549f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 6 additions & 4 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -28093,7 +28093,7 @@ <h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
<dt><var title="">cuelist</var> . <code title=dom-TimedTrackCueList-getCueById><a href=#dom-timedtrackcuelist-getcuebyid>getCueById</a></code>( <var title="">id</var> )</dt>
<dd>
<p>Returns the first <a href=#timed-track-cue>timed track cue</a> (in <a href=#timed-track-cue-order>timed track cue order</a>) with <a href=#timed-track-cue-identifier>timed track cue identifier</a> <var title="">id</var>.</p>
<p>Returns null if none of the cues have the given identifier.</p>
<p>Returns null if none of the cues have the given identifier or if the argument is the empty string.</p>
</dd>

</dl><div class=impl>
Expand All @@ -28120,11 +28120,13 @@ <h6 id=timed-track-api><span class=secno>4.8.10.10.5 </span>Timed track API</h6>
the <var title="">index</var>th <a href=#timed-track-cue>timed track cue</a> in the
list represented by the <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>

<p>The <dfn id=dom-timedtrackcuelist-getcuebyid title=dom-TimedTrackCueList-getCueById><code>getCueById(<var title="">id</var>)</code></dfn> method must return the first
<a href=#timed-track-cue>timed track cue</a> in the list represented by the
<p>The <dfn id=dom-timedtrackcuelist-getcuebyid title=dom-TimedTrackCueList-getCueById><code>getCueById(<var title="">id</var>)</code></dfn> method, when called with an argument
other than the empty string, must return the first <a href=#timed-track-cue>timed track
cue</a> in the list represented by the
<code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object whose <a href=#timed-track-cue-identifier>timed track cue
identifier</a> is <var title="">id</var>, if any, or null
otherwise.</p>
otherwise. If the argument is the empty string, then the method must
return null.</p>

</div>

Expand Down
10 changes: 6 additions & 4 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -28073,7 +28073,7 @@ window.onbeforeunload = function () {
<dt><var title="">cuelist</var> . <code title=dom-TimedTrackCueList-getCueById><a href=#dom-timedtrackcuelist-getcuebyid>getCueById</a></code>( <var title="">id</var> )</dt>
<dd>
<p>Returns the first <a href=#timed-track-cue>timed track cue</a> (in <a href=#timed-track-cue-order>timed track cue order</a>) with <a href=#timed-track-cue-identifier>timed track cue identifier</a> <var title="">id</var>.</p>
<p>Returns null if none of the cues have the given identifier.</p>
<p>Returns null if none of the cues have the given identifier or if the argument is the empty string.</p>
</dd>

</dl><div class=impl>
Expand All @@ -28100,11 +28100,13 @@ window.onbeforeunload = function () {
the <var title="">index</var>th <a href=#timed-track-cue>timed track cue</a> in the
list represented by the <code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object.</p>

<p>The <dfn id=dom-timedtrackcuelist-getcuebyid title=dom-TimedTrackCueList-getCueById><code>getCueById(<var title="">id</var>)</code></dfn> method must return the first
<a href=#timed-track-cue>timed track cue</a> in the list represented by the
<p>The <dfn id=dom-timedtrackcuelist-getcuebyid title=dom-TimedTrackCueList-getCueById><code>getCueById(<var title="">id</var>)</code></dfn> method, when called with an argument
other than the empty string, must return the first <a href=#timed-track-cue>timed track
cue</a> in the list represented by the
<code><a href=#timedtrackcuelist>TimedTrackCueList</a></code> object whose <a href=#timed-track-cue-identifier>timed track cue
identifier</a> is <var title="">id</var>, if any, or null
otherwise.</p>
otherwise. If the argument is the empty string, then the method must
return null.</p>

</div>

Expand Down
10 changes: 6 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -30549,7 +30549,7 @@ window.onbeforeunload = function () {
<dt><var title="">cuelist</var> . <code title="dom-TimedTrackCueList-getCueById">getCueById</code>( <var title="">id</var> )</dt>
<dd>
<p>Returns the first <span>timed track cue</span> (in <span>timed track cue order</span>) with <span>timed track cue identifier</span> <var title="">id</var>.</p>
<p>Returns null if none of the cues have the given identifier.</p>
<p>Returns null if none of the cues have the given identifier or if the argument is the empty string.</p>
</dd>

</dl>
Expand Down Expand Up @@ -30581,11 +30581,13 @@ window.onbeforeunload = function () {

<p>The <dfn
title="dom-TimedTrackCueList-getCueById"><code>getCueById(<var
title="">id</var>)</code></dfn> method must return the first
<span>timed track cue</span> in the list represented by the
title="">id</var>)</code></dfn> method, when called with an argument
other than the empty string, must return the first <span>timed track
cue</span> in the list represented by the
<code>TimedTrackCueList</code> object whose <span>timed track cue
identifier</span> is <var title="">id</var>, if any, or null
otherwise.</p>
otherwise. If the argument is the empty string, then the method must
return null.</p>

</div>

Expand Down

0 comments on commit 282549f

Please sign in to comment.