- From: poot <cvsmail@w3.org>
- Date: Tue, 12 Aug 2008 18:07:39 +0900 (JST)
- To: public-html-diffs@w3.org
Update CVS server to latest version. (whatwg r) muted http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#muted parse a string as a datetime value http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#datetime-parser volume http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#volume parse a manifest http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#parse1 steps for finding one or two numbers of a ratio in a string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#steps find a number http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#find-a optimum http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#optimum insertHTML http://people.w3.org/mike/diffs/html5/spec/Overview.1.1234.html#inserthtml http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1233&r2=1.1234&f=h =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1233 retrieving revision 1.1234 diff -u -d -r1.1233 -r1.1234 --- Overview.html 11 Aug 2008 23:26:11 -0000 1.1233 +++ Overview.html 12 Aug 2008 09:04:24 -0000 1.1234 @@ -27,7 +27,7 @@ for HTML and XHTML</h2> <h2 class="no-num no-toc" id=editors0><!-- "W3C Working Draft" --> - Editor's Draft <!--ZZZ-->11 August 2008</h2> + Editor's Draft <!--ZZZ-->12 August 2008</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> @@ -199,7 +199,7 @@ <p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working Group</a> is the W3C working group responsible for this specification's progress along - the W3C Recommendation track. <!--ZZZ:--> This specification is the 11 + the W3C Recommendation track. <!--ZZZ:--> This specification is the 12 August 2008 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--></p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- relationship to other work (required) --> @@ -3472,6 +3472,11 @@ <li>Set <var title="">number2</var> to the number returned by the sub-algorithm in step 9. + <li>Starting with the character immediately after the last one examined by + the sub-algorithm in step 9, skip any characters in the string that are + in the Unicode character class Zs (this might match zero characters). <a + href="#references">[UNICODE]</a> + <li>If there are still further characters in the string, and the next character in the string is a <a href="#valid2">valid denominator punctuation character</a>, return nothing and abort these steps. @@ -3502,8 +3507,9 @@ assign this string of one or more characters to <var title="">string</var>. - <li>If <var title="">string</var> contains more than one U+002E FULL STOP - character then return an error condition and abort these steps. + <li>If <var title="">string</var> consists of just a single U+002E FULL + STOP character or if it contains more than one U+002E FULL STOP character + then return an error condition and abort these steps. <li>Parse <var title="">string</var> according to the <a href="#rules1">rules for parsing floating point number values</a>, to @@ -4031,7 +4037,7 @@ instead of the string version. <li>If <var title="">second</var> is not a number in the range - 0 ≤ <var title="">hour</var> < 60, then fail. + 0 ≤ <var title="">second</var> < 60, then fail. (The values 60 and 61 are not allowed: leap seconds cannot be represented by datetime values.) @@ -14256,6 +14262,14 @@ title=attr-meter-max><a href="#max1">max</a></code> </ul> + <p>All <code><a href="#meter">meter</a></code> elements must have a value + specified somehow, either using the <code title=attr-meter-value><a + href="#value3">value</a></code> attribute or by including a number in the + contents of the element. + + <p class=note>If no minimum or maximum is specified, then the range is + assumed to be 0..1, and the value thus has to be within that range. + <div class=example> <p>The following examples all represent a measurement of three quarters (of the maximum of whatever is being measured):</p> @@ -20358,10 +20372,12 @@ <p>The <dfn id=muted title=dom-media-muted><code>muted</code></dfn> attribute must return true if the audio channels are muted and false - otherwise. On setting, the attribute must be set to the new value; if the - new value is true, audio playback for this <a href="#media10">media - resource</a> must then be muted, and if false, audio playback must then be - enabled. + otherwise. Initially, the audio channels should not be muted (false), but + user agents may remember the last set value across sessions, on a per-site + basis or otherwise, so the muted state may start as muted (true). On + setting, the attribute must be set to the new value; if the new value is + true, audio playback for this <a href="#media10">media resource</a> must + then be muted, and if false, audio playback must then be enabled. <p>Whenever either the <code title=dom-media-muted><a href="#muted">muted</a></code> or <code title=dom-media-volume><a @@ -34350,14 +34366,65 @@ labeled "start of line". <li> - <p>This is either a data line or it is syntactically incorrect.</p> + <p>If <var title="">line</var> ends with a U+003A COLON (:) character, + then set <var title="">mode</var> to "unknown" and jump back to the step + labeled "start of line". + + <li> + <p>This is either a data line or it is syntactically incorrect. + + <li> + <p>Let <var title="">position</var> be a pointer into <var + title="">line</var>, initially pointing at the start of the string. + + <li> + <p>Let <var title="">tokens</var> be a list of strings, initially empty. + + <li> + <p>While <var title="">position</var> doesn't point past the end of <var + title="">line</var> and the character at <var title="">position</var> is + either a U+0020 SPACE or a U+0009 CHARACTER TABULATION (tab) character, + advance <var title="">position</var> to the next character in <var + title="">input</var>. + + <li> + <p>While <var title="">position</var> doesn't point past the end of <var + title="">line</var>:</p> + + <ol> + <li> + <p>Let <var title="">current token</var> be an empty string. + + <li> + <p>While <var title="">position</var> doesn't point past the end of + <var title="">line</var> and the character at <var + title="">position</var> is neither a U+0020 SPACE nor a U+0009 + CHARACTER TABULATION (tab) character, add the character at <var + title="">position</var> to <var title="">current token</var> and + advance <var title="">position</var> to the next character in <var + title="">input</var>. + + <li> + <p>Add <var title="">current token</var> to the <var + title="">tokens</var> list. + + <li> + <p>While <var title="">position</var> doesn't point past the end of + <var title="">line</var> and the character at <var + title="">position</var> is either a U+0020 SPACE or a U+0009 CHARACTER + TABULATION (tab) character, advance <var title="">position</var> to + the next character in <var title="">input</var>. + </ol> + + <li> + <p>Process <var title="">tokens</var> as follows:</p> <dl class=switch> <dt>If <var title="">mode</var> is "explicit" <dd> - <p><a href="#resolve" title="resolve a url">Resolve</a> <var - title="">line</var>.</p> + <p><a href="#resolve" title="resolve a url">Resolve</a> the first item + in <var title="">tokens</var>; ignore the rest.</p> <p>If this fails, then jump back to the step labeled "start of line".</p> @@ -34377,15 +34444,9 @@ <dt>If <var title="">mode</var> is "fallback" <dd> - <p>If <var title="">line</var> does not contain at least one U+0020 - SPACE or U+0009 CHARACTER TABULATION (tab) character, then jump back - to the step labeled "start of line".</p> - - <p>Otherwise, let everything before the first U+0020 SPACE or U+0009 - CHARACTER TABULATION (tab) character in <var title="">line</var> be - <var title="">part one</var>, and let everything after the first - U+0020 SPACE or U+0009 CHARACTER TABULATION (tab) character in <var - title="">line</var> be <var title="">part two</var>.</p> + <p>Let <var title="">part one</var> be the first token in <var + title="">tokens</var>, and let <var title="">part two</var> be the + second token in <var title="">tokens</var>.</p> <p><a href="#resolve" title="resolve a url">Resolve</a> <var title="">part one</var> and <var title="">part two</var>.</p> @@ -34424,8 +34485,8 @@ <dt>If <var title="">mode</var> is "online whitelist" <dd> - <p><a href="#resolve" title="resolve a url">Resolve</a> <var - title="">line</var>.</p> + <p><a href="#resolve" title="resolve a url">Resolve</a> the first item + in <var title="">tokens</var>; ignore the rest.</p> <p>If this fails, then jump back to the step labeled "start of line".</p> @@ -34441,6 +34502,11 @@ <p>Add the resulting <a href="#absolute">absolute URL</a> to the <var title="">online whitelist URLs</var>.</p> + + <dt>If <var title="">mode</var> is "unknown" + + <dd> + <p>Do nothing. The line is ignored.</p> </dl> <li> @@ -42018,6 +42084,10 @@ <ol> <li> + <p>If the document is an <span>XML document</span>, then throw an + <code>INVALID_ACCESS_ERR</code> exception and abort these steps. + + <li> <p>If the <var title="">value</var> argument wasn't specified, abort these steps without doing anything.
Received on Tuesday, 12 August 2008 09:08:18 UTC