[html5] r5576 - [agiow] (0) Be consistent with getElementById(''). Fixing http://www.w3.org/Bugs [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 4 15:50:09 PDT 2010
Author: ianh
Date: 2010-10-04 15:50:08 -0700 (Mon, 04 Oct 2010)
New Revision: 5576
Modified:
complete.html
index
source
Log:
[agiow] (0) Be consistent with getElementById('').
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10749
Modified: complete.html
===================================================================
--- complete.html 2010-10-04 21:25:27 UTC (rev 5575)
+++ complete.html 2010-10-04 22:50:08 UTC (rev 5576)
@@ -28093,7 +28093,7 @@
<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>
@@ -28120,11 +28120,13 @@
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>
Modified: index
===================================================================
--- index 2010-10-04 21:25:27 UTC (rev 5575)
+++ index 2010-10-04 22:50:08 UTC (rev 5576)
@@ -28073,7 +28073,7 @@
<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>
@@ -28100,11 +28100,13 @@
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>
Modified: source
===================================================================
--- source 2010-10-04 21:25:27 UTC (rev 5575)
+++ source 2010-10-04 22:50:08 UTC (rev 5576)
@@ -30549,7 +30549,7 @@
<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>
@@ -30581,11 +30581,13 @@
<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>
More information about the Commit-Watchers
mailing list