[html5] r3182 - [e] (0) A variety of editorial fixes. Note also the minor change to document.charset.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 3 02:16:07 PDT 2009


Author: ianh
Date: 2009-06-03 02:16:05 -0700 (Wed, 03 Jun 2009)
New Revision: 3182

Modified:
   index
   source
Log:
[e] (0) A variety of editorial fixes. Note also the minor change to document.charset.

Modified: index
===================================================================
--- index	2009-06-03 07:33:39 UTC (rev 3181)
+++ index	2009-06-03 09:16:05 UTC (rev 3182)
@@ -2320,15 +2320,7 @@
   represented by the (missing) attribute. Otherwise, the absence of
   the attribute means that there is no state represented.</p>
 
-  <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.</p>
+  <p class=note>The empty string can be a valid keyword.</p>
 
 
   <h4 id=numbers><span class=secno>2.4.4 </span>Numbers</h4>
@@ -3825,12 +3817,12 @@
   the number 1 week in a week-year is the last week in the previous
   week-year, and vice versa. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>
 
-  <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>
+  <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>
 
   <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
@@ -3838,8 +3830,8 @@
 
   <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>
+  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>
 
   <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>
@@ -7523,7 +7515,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>
@@ -7548,9 +7540,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
@@ -12563,7 +12556,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>
@@ -33096,7 +33089,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>
 
@@ -70868,6 +70861,7 @@
   Geoffrey Garen,
   Geoffrey Sneddon,
   George Lund,
+  Giovanni Campagna,
   Greg Botten,
   Greg Houston,
   Grey,

Modified: source
===================================================================
--- source	2009-06-03 07:33:39 UTC (rev 3181)
+++ source	2009-06-03 09:16:05 UTC (rev 3182)
@@ -1335,17 +1335,7 @@
   represented by the (missing) attribute. Otherwise, the absence of
   the attribute means that there is no state represented.</p>
 
-  <p class="note">The empty string can be one of the keywords in some
-  cases. For example the <code
-  title="attr-contenteditable">contenteditable</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.</p>
+  <p class="note">The empty string can be a valid keyword.</p>
 
 
   <h4>Numbers</h4>
@@ -3227,13 +3217,13 @@
   week-year, and vice versa. <a
   href="#refsGREGORIAN">[GREGORIAN]</a></p>
 
-  <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
+  <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, has 53 weeks. All other week-years
-  have 52 weeks.</p>
+  divisible by 4 but not by 100. All other week-years have 52
+  weeks.</p>
 
   <p>The <dfn>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
@@ -3242,8 +3232,8 @@
   <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>
+  title="">y</var> is the week that contains the first Thursday of
+  the Gregorian year <var title="">y</var>.</p>
 
   <p>A string is a <dfn>valid week string</dfn> representing a
   week-year <var title="">year</var> and week <var title="">week</var>
@@ -7648,7 +7638,7 @@
     <p>Returns the <span>document's character encoding</span>.</p>
     <p>Can be set, to dynamically change the <span>document's
     character encoding</span>.</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">characterSet</code></dt>
@@ -7677,9 +7667,10 @@
   <p>The <dfn title="dom-document-charset"><code>charset</code></dfn>
   DOM attribute must, on getting, return the preferred MIME name of
   the <span>document's character encoding</span>. On setting, if the
-  new value is an IANA-registered alias for a character encoding, the
-  <span>document's character encoding</span> 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 <span>document's character
+  encoding</span> must be set to that character encoding. (Otherwise,
+  nothing happens.)</p>
 
   <p>The <dfn
   title="dom-document-characterSet"><code>characterSet</code></dfn>
@@ -13393,7 +13384,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>
@@ -36863,7 +36854,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>
 
@@ -83555,6 +83546,7 @@
   Geoffrey Garen,
   Geoffrey Sneddon,
   George Lund,
+  Giovanni Campagna,
   Greg Botten,
   Greg Houston,
   Grey,




More information about the Commit-Watchers mailing list