Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) A variety of editorial fixes. Note also the minor change to d…
…ocument.charset.

git-svn-id: http://svn.whatwg.org/webapps@3182 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 3, 2009
1 parent 248b2fe commit 375c9b9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 48 deletions.
40 changes: 17 additions & 23 deletions index
Expand Up @@ -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>
Expand Down Expand Up @@ -3825,21 +3817,21 @@
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
weeks is 52.</p>

<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>
Expand Down Expand Up @@ -7523,7 +7515,7 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<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>
Expand All @@ -7548,9 +7540,10 @@ interface <dfn id=htmldocument>HTMLDocument</dfn> {
<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
Expand Down Expand Up @@ -12563,7 +12556,7 @@ not-slash = %x0000-002E / %x0030-%10FFFF
&lt;/section&gt;
&lt;section&gt;
&lt;h1&gt;Granny Smith&lt;/h1&gt;
&lt;p&gt;These juicy, green apples and make a great filling for
&lt;p&gt;These juicy, green apples make a great filling for
apple pies.&lt;/p&gt;
&lt;/section&gt;
&lt;/article&gt;</pre>
Expand Down Expand Up @@ -33096,7 +33089,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
&lt;/label&gt;
</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>

Expand Down Expand Up @@ -70868,6 +70861,7 @@ S SPACER STRIKE TT U -->
Geoffrey Garen,
Geoffrey Sneddon,
George Lund,
Giovanni Campagna,
Greg Botten,
Greg Houston,
Grey,
Expand Down
42 changes: 17 additions & 25 deletions source
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand Down Expand Up @@ -7648,7 +7638,7 @@ interface <dfn>HTMLDocument</dfn> {
<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>
Expand Down Expand Up @@ -7677,9 +7667,10 @@ interface <dfn>HTMLDocument</dfn> {
<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>
Expand Down Expand Up @@ -13393,7 +13384,7 @@ not-slash = %x0000-002E / %x0030-%10FFFF
&lt;/section>
&lt;section>
&lt;h1>Granny Smith&lt;/h1>
&lt;p>These juicy, green apples and make a great filling for
&lt;p>These juicy, green apples make a great filling for
apple pies.&lt;/p>
&lt;/section>
&lt;/article></pre>
Expand Down Expand Up @@ -36863,7 +36854,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
&lt;/label&gt;
</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>

Expand Down Expand Up @@ -83555,6 +83546,7 @@ S SPACER STRIKE TT U -->
Geoffrey Garen,
Geoffrey Sneddon,
George Lund,
Giovanni Campagna,
Greg Botten,
Greg Houston,
Grey,
Expand Down

0 comments on commit 375c9b9

Please sign in to comment.