- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Jun 2009 09:16:14 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv13377
Modified Files:
Overview.html
Log Message:
A variety of editorial fixes. Note also the minor change to document.charset. (whatwg r3182)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2335
retrieving revision 1.2336
diff -u -d -r1.2335 -r1.2336
--- Overview.html 3 Jun 2009 07:33:46 -0000 1.2335
+++ Overview.html 3 Jun 2009 09:16:10 -0000 1.2336
@@ -2036,15 +2036,7 @@
be ignored.<p>When the attribute is <em>not</em> specified, if there is a
<i>missing value default</i> state defined, then that is the state
represented by the (missing) attribute. Otherwise, the absence of
- the attribute means that there is no state represented.<p class="note">The empty string can be one of the keywords in some
- cases. For example the <code title="attr-contenteditable"><a href="#attr-contenteditable">contenteditable</a></code> attribute has
- two states: <i>true</i>, matching the <code title="">true</code>
- keyword and the empty string, <i>false</i>, matching <code title="">false</code> and all other keywords (it's the <i>invalid
- value default</i>). It could further be thought of as having a
- third state <i>inherit</i>, which would be the default when the
- attribute is not specified at all (the <i>missing value
- default</i>), but for various reasons that isn't the way this
- specification actually defines it.<h4 id="numbers"><span class="secno">2.4.4 </span>Numbers</h4><h5 id="non-negative-integers"><span class="secno">2.4.4.1 </span>Non-negative integers</h5><p>A string is a <dfn id="valid-non-negative-integer">valid non-negative integer</dfn> if it
+ the attribute means that there is no state represented.<p class="note">The empty string can be a valid keyword.<h4 id="numbers"><span class="secno">2.4.4 </span>Numbers</h4><h5 id="non-negative-integers"><span class="secno">2.4.4.1 </span>Non-negative integers</h5><p>A string is a <dfn id="valid-non-negative-integer">valid non-negative integer</dfn> if it
consists of one or more characters in the range U+0030 DIGIT ZERO
(0) to U+0039 DIGIT NINE (9).<p>A <a href="#valid-non-negative-integer">valid non-negative integer</a> represents the number
that is represented in base ten by that string of digits.<div class="impl">
@@ -3420,17 +3412,17 @@
(1969-12-29) is defined as week number 1 in week-year
1970. Consecutive weeks are numbered sequentially. The week before
the number 1 week in a week-year is the last week in the previous
- week-year, and vice versa. <a href="#references">[GREGORIAN]</a><p>A week-year with a number <var title="">year</var> that
- corresponds to a year <var title="">year</var> in the proleptic
- Gregorian calendar that has a Thursday as its first day (January
- 1st), and a week-year <var title="">year</var> where <var title="">year</var> is a number divisible by 400, or a number
- divisible by 4 but not by 100, has 53 weeks. All other week-years
- have 52 weeks.<p>The <dfn id="week-number-of-the-last-day">week number of the last day</dfn> of a week-year with 53
+ week-year, and vice versa. <a href="#references">[GREGORIAN]</a><p>A week-year with a number <var title="">year</var> has 53 weeks
+ if it corresponds to a year <var title="">year</var> in the
+ proleptic Gregorian calendar that has a Thursday as its first day
+ (January 1st), and a week-year <var title="">year</var> where <var title="">year</var> is a number divisible by 400, or a number
+ divisible by 4 but not by 100. All other week-years have 52
+ weeks.<p>The <dfn id="week-number-of-the-last-day">week number of the last day</dfn> of a week-year with 53
weeks is 53; the week number of the last day of a week-year with 52
weeks is 52.<p class="note">The week-year number of a particular day can be
different than the number of the year that contains that day in the
- proleptic Gregorian calendar. The first week in a week-year <var title="">year</var> is the week that contains the first Thursday of
- the Gregorian year <var title="">year</var>.<p>A string is a <dfn id="valid-week-string">valid week string</dfn> representing a
+ proleptic Gregorian calendar. The first week in a week-year <var title="">y</var> is the week that contains the first Thursday of
+ the Gregorian year <var title="">y</var>.<p>A string is a <dfn id="valid-week-string">valid week string</dfn> representing a
week-year <var title="">year</var> and week <var title="">week</var>
if it consists of the following components in the given order:<ol><li>Four or more <a href="#concept-datetime-digit" title="concept-datetime-digit">digits</a>, representing <var title="">year</var>, where <var title="">year</var> > 0</li>
@@ -6829,7 +6821,7 @@
<p>Returns the <a href="#document-s-character-encoding">document's character encoding</a>.</p>
<p>Can be set, to dynamically change the <a href="#document-s-character-encoding">document's
character encoding</a>.</p>
- <p>New values that are not IANA-registered aliases are ignored.</p>
+ <p>New values that are not IANA-registered aliases supported by the user agent are ignored.</p>
</dd>
<dt><var title="">document</var> . <code title="dom-document-characterSet"><a href="#dom-document-characterset">characterSet</a></code></dt>
@@ -6854,9 +6846,10 @@
<p>The <dfn id="dom-document-charset" title="dom-document-charset"><code>charset</code></dfn>
DOM attribute must, on getting, return the preferred MIME name of
the <a href="#document-s-character-encoding">document's character encoding</a>. On setting, if the
- new value is an IANA-registered alias for a character encoding, the
- <a href="#document-s-character-encoding">document's character encoding</a> must be set to that
- character encoding. (Otherwise, nothing happens.)</p>
+ new value is an IANA-registered alias for a character encoding
+ supported by the user agent, the <a href="#document-s-character-encoding">document's character
+ encoding</a> must be set to that character encoding. (Otherwise,
+ nothing happens.)</p>
<p>The <dfn id="dom-document-characterset" title="dom-document-characterSet"><code>characterSet</code></dfn>
DOM attribute must, on getting, return the preferred MIME name of
@@ -11144,7 +11137,7 @@
</section>
<section>
<h1>Granny Smith</h1>
- <p>These juicy, green apples and make a great filling for
+ <p>These juicy, green apples make a great filling for
apple pies.</p>
</section>
</article></pre>
@@ -29344,7 +29337,7 @@
</label>
</pre>
<p>...could cause the UA to display an alert such as:</p>
- <pre><samp> part number is a digit followed by three uppercase letters.
+ <pre><samp>A part number is a digit followed by three uppercase letters.
You cannot complete this form until the field is correct.</samp></pre>
</div><p>When a control has a <code>pattern</code> attribute, the
<code><a href="#the-title-element">title</a></code> attribute, if used, must describe the pattern.
@@ -64632,6 +64625,7 @@
Geoffrey Garen,
Geoffrey Sneddon,
George Lund,
+ Giovanni Campagna,
Greg Botten,
Greg Houston,
Grey,
Received on Wednesday, 3 June 2009 09:16:21 UTC