[html5] r2687 - [e] (0) consistency fix
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jan 21 03:34:50 PST 2009
Author: ianh
Date: 2009-01-21 03:34:49 -0800 (Wed, 21 Jan 2009)
New Revision: 2687
Modified:
index
source
Log:
[e] (0) consistency fix
Modified: index
===================================================================
--- index 2009-01-21 11:34:10 UTC (rev 2686)
+++ index 2009-01-21 11:34:49 UTC (rev 2687)
@@ -10521,10 +10521,10 @@
elements</a>.</p>
<p class=example>Thus, for example, a bubbling <code title=event-message><a href=#event-message>message</a></code> event fired on a child of
- <a href=#the-body-element-1>the <code>body</code> element</a> of a
- <code>Document</code> would trigger the <code title=handler-onmessage><a href=#handler-onmessage>onmessage</a></code> <a href=#event-handler-content-attributes>event handler
- content attributes</a> of that element and of the root
- <code><a href=#the-html-element>html</a></code> element, but would not trigger the <code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code> <a href=#event-handler-content-attributes title="event
+ <a href=#the-body-element-1>the body element</a> of a <code>Document</code> would
+ trigger the <code title=handler-onmessage><a href=#handler-onmessage>onmessage</a></code>
+ <a href=#event-handler-content-attributes>event handler content attributes</a> of that element and of
+ the root <code><a href=#the-html-element>html</a></code> element, but would not trigger the <code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code> <a href=#event-handler-content-attributes title="event
handler content attributes">event handler content attribute</a>
on the <code><a href=#the-body-element>body</a></code> element.</p>
@@ -10897,8 +10897,8 @@
<dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
</dl><p>The <code><a href=#the-address-element>address</a></code> element represents the contact
information for the section it <a href=#applyToSection>applies</a>
- to. If it applies to <a href=#the-body-element-1>the <code>body</code> element</a>,
- then it instead applies to the document as a whole.</p>
+ to. If it applies to <a href=#the-body-element-1>the body element</a>, then it instead
+ applies to the document as a whole.</p>
<div class=example>
<p>For example, a page at the W3C Web site related to HTML might
@@ -11297,9 +11297,9 @@
<li><p>Associate all nodes with the heading of the <a href=#concept-section title=concept-section>section</a> with which they are
associated, if any.</li>
- <li><p>If <var title="">current outlinee</var> is <a href=#the-body-element-1>the
- <code>body</code> element</a>, then the outline created for that
- element is the <a href=#outline>outline</a> of the entire document.</li>
+ <li><p>If <var title="">current outlinee</var> is <a href=#the-body-element-1>the body
+ element</a>, then the outline created for that element is the
+ <a href=#outline>outline</a> of the entire document.</li>
</ol><p>The tree of sections created by the algorithm above, or a proper
subset thereof, must be used when generating document outlines, for
@@ -11354,29 +11354,28 @@
<p>Given the <a href=#outline>outline</a> of a document, but ignoring any
sections created for <code><a href=#the-nav-element>nav</a></code> and <code><a href=#the-aside-element>aside</a></code>
elements, and any of their descendants, if the only root of the tree
- is <a href=#the-body-element-1>the <code>body</code> element</a>'s <a href=#concept-section title=concept-section>section</a>, and it has only a single
+ is <a href=#the-body-element-1>the body element</a>'s <a href=#concept-section title=concept-section>section</a>, and it has only a single
subsection which is created by an <code><a href=#the-article-element>article</a></code> element, then
- the heading of <a href=#the-body-element-1>the <code>body</code> element</a> should be
- assumed to be a site-wide heading, and the heading of the
- <code><a href=#the-article-element>article</a></code> element should be assumed to be the page's
- heading.</p>
+ the heading of <a href=#the-body-element-1>the body element</a> should be assumed to be
+ a site-wide heading, and the heading of the <code><a href=#the-article-element>article</a></code>
+ element should be assumed to be the page's heading.</p>
<p>If a page starts with a heading that is common to the whole site,
the document must be authored such that, in the document's
<a href=#outline>outline</a>, ignoring any sections created for
<code><a href=#the-nav-element>nav</a></code> and <code><a href=#the-aside-element>aside</a></code> elements and any of their
- descendants, the tree has only one root <a href=#concept-section title=concept-section>section</a>, <a href=#the-body-element-1>the <code>body</code>
+ descendants, the tree has only one root <a href=#concept-section title=concept-section>section</a>, <a href=#the-body-element-1>the body
element</a>'s section, its heading is the site-wide heading,
- <a href=#the-body-element-1>the <code>body</code> element</a> has just one subsection,
- that subsection is created by an <code><a href=#the-article-element>article</a></code> element, and
- that <code><a href=#the-article-element>article</a></code>'s heading is the page heading.</p>
+ <a href=#the-body-element-1>the body element</a> has just one subsection, that
+ subsection is created by an <code><a href=#the-article-element>article</a></code> element, and that
+ <code><a href=#the-article-element>article</a></code>'s heading is the page heading.</p>
<p>If a page does not contain a site-wide heading, then the page
must be authored such that, in the document's <a href=#outline>outline</a>,
ignoring any sections created for <code><a href=#the-nav-element>nav</a></code> and
<code><a href=#the-aside-element>aside</a></code> elements and any of their descendants, either
- <a href=#the-body-element-1>the <code>body</code> element</a> has no subsections, or it
- has more than one subsection, or it has a single subsection but that
+ <a href=#the-body-element-1>the body element</a> has no subsections, or it has more
+ than one subsection, or it has a single subsection but that
subsection is not created by an <code><a href=#the-article-element>article</a></code> element, or
there is more than one <a href=#concept-section title=concept-section>section</a>
at the root of the outline.</p>
@@ -41778,8 +41777,7 @@
<p>When an element is <i>focused</i>, key events received by the
document must be targeted at that element. There may be no element
focused; when no element is focused, key events received by the
- document must be targetted at <a href=#the-body-element-1>the <code>body</code>
- element</a>.</p>
+ document must be targetted at <a href=#the-body-element-1>the body element</a>.</p>
<p>User agents may track focus for each <a href=#browsing-context>browsing
context</a> or <code>Document</code> individually, or may support
@@ -41959,8 +41957,8 @@
<p>The <dfn id=dom-document-activeelement title=dom-document-activeElement><code>activeElement</code></dfn>
attribute on <code>DocumentHTML</code> objects must return the
element in the document that is focused. If no element in the
- <code>Document</code> is focused, this must return <a href=#the-body-element-1>the
- <code>body</code> element</a>.</p>
+ <code>Document</code> is focused, this must return <a href=#the-body-element-1>the body
+ element</a>.</p>
<p>The <dfn id=dom-document-hasfocus title=dom-document-hasFocus><code>hasFocus()</code></dfn> method
on <code>DocumentHTML</code> objects must return true if the
@@ -55594,27 +55592,27 @@
<p>The <dfn id=dom-document-fgcolor title=dom-document-fgColor><code>fgColor</code></dfn>
attribute on the <code>Document</code> object must
<a href=#reflect>reflect</a> the <code title=attr-body-text>text</code>
- attribute on <a href=#the-body-element-1>the <code>body</code> element</a>.</p>
+ attribute on <a href=#the-body-element-1>the body element</a>.</p>
<p>The <dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn>
attribute on the <code>Document</code> object must
<a href=#reflect>reflect</a> the <code title=attr-body-bgcolor>bgcolor</code>
- attribute on <a href=#the-body-element-1>the <code>body</code> element</a>.</p>
+ attribute on <a href=#the-body-element-1>the body element</a>.</p>
<p>The <dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn>
attribute on the <code>Document</code> object must
<a href=#reflect>reflect</a> the <code title=attr-body-link>link</code>
- attribute on <a href=#the-body-element-1>the <code>body</code> element</a>.</p>
+ attribute on <a href=#the-body-element-1>the body element</a>.</p>
<p>The <dfn id=dom-document-vlinkcolor title=dom-document-vLinkColor><code>vLinkColor</code></dfn>
attribute on the <code>Document</code> object must
<a href=#reflect>reflect</a> the <code title=attr-body-vlink>vlink</code>
- attribute on <a href=#the-body-element-1>the <code>body</code> element</a>.</p>
+ attribute on <a href=#the-body-element-1>the body element</a>.</p>
<p>The <dfn id=dom-document-alinkcolor title=dom-document-aLinkColor><code>aLinkColor</code></dfn>
attribute on the <code>Document</code> object must
<a href=#reflect>reflect</a> the <code title=attr-body-alink>alink</code>
- attribute on <a href=#the-body-element-1>the <code>body</code> element</a>.</p>
+ attribute on <a href=#the-body-element-1>the body element</a>.</p>
<pre class=idl>[XXX] interface <a href=#htmlbodyelement>HTMLBodyElement</a> {
attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>;
Modified: source
===================================================================
--- source 2009-01-21 11:34:10 UTC (rev 2686)
+++ source 2009-01-21 11:34:49 UTC (rev 2687)
@@ -11182,11 +11182,10 @@
<p class="example">Thus, for example, a bubbling <code
title="event-message">message</code> event fired on a child of
- <span>the <code>body</code> element</span> of a
- <code>Document</code> would trigger the <code
- title="handler-onmessage">onmessage</code> <span>event handler
- content attributes</span> of that element and of the root
- <code>html</code> element, but would not trigger the <code
+ <span>the body element</span> of a <code>Document</code> would
+ trigger the <code title="handler-onmessage">onmessage</code>
+ <span>event handler content attributes</span> of that element and of
+ the root <code>html</code> element, but would not trigger the <code
title="handler-window-onmessage">onmessage</code> <span title="event
handler content attributes">event handler content attribute</span>
on the <code>body</code> element.</p>
@@ -11585,8 +11584,8 @@
<p>The <code>address</code> element represents the contact
information for the section it <a href="#applyToSection">applies</a>
- to. If it applies to <span>the <code>body</code> element</span>,
- then it instead applies to the document as a whole.</p>
+ to. If it applies to <span>the body element</span>, then it instead
+ applies to the document as a whole.</p>
<div class="example">
<p>For example, a page at the W3C Web site related to HTML might
@@ -12033,9 +12032,9 @@
title="concept-section">section</span> with which they are
associated, if any.</p></li>
- <li><p>If <var title="">current outlinee</var> is <span>the
- <code>body</code> element</span>, then the outline created for that
- element is the <span>outline</span> of the entire document.</p></li>
+ <li><p>If <var title="">current outlinee</var> is <span>the body
+ element</span>, then the outline created for that element is the
+ <span>outline</span> of the entire document.</p></li>
</ol>
@@ -12096,31 +12095,30 @@
<p>Given the <span>outline</span> of a document, but ignoring any
sections created for <code>nav</code> and <code>aside</code>
elements, and any of their descendants, if the only root of the tree
- is <span>the <code>body</code> element</span>'s <span
+ is <span>the body element</span>'s <span
title="concept-section">section</span>, and it has only a single
subsection which is created by an <code>article</code> element, then
- the heading of <span>the <code>body</code> element</span> should be
- assumed to be a site-wide heading, and the heading of the
- <code>article</code> element should be assumed to be the page's
- heading.</p>
+ the heading of <span>the body element</span> should be assumed to be
+ a site-wide heading, and the heading of the <code>article</code>
+ element should be assumed to be the page's heading.</p>
<p>If a page starts with a heading that is common to the whole site,
the document must be authored such that, in the document's
<span>outline</span>, ignoring any sections created for
<code>nav</code> and <code>aside</code> elements and any of their
descendants, the tree has only one root <span
- title="concept-section">section</span>, <span>the <code>body</code>
+ title="concept-section">section</span>, <span>the body
element</span>'s section, its heading is the site-wide heading,
- <span>the <code>body</code> element</span> has just one subsection,
- that subsection is created by an <code>article</code> element, and
- that <code>article</code>'s heading is the page heading.</p>
+ <span>the body element</span> has just one subsection, that
+ subsection is created by an <code>article</code> element, and that
+ <code>article</code>'s heading is the page heading.</p>
<p>If a page does not contain a site-wide heading, then the page
must be authored such that, in the document's <span>outline</span>,
ignoring any sections created for <code>nav</code> and
<code>aside</code> elements and any of their descendants, either
- <span>the <code>body</code> element</span> has no subsections, or it
- has more than one subsection, or it has a single subsection but that
+ <span>the body element</span> has no subsections, or it has more
+ than one subsection, or it has a single subsection but that
subsection is not created by an <code>article</code> element, or
there is more than one <span title="concept-section">section</span>
at the root of the outline.</p>
@@ -47602,8 +47600,7 @@
<p>When an element is <i>focused</i>, key events received by the
document must be targeted at that element. There may be no element
focused; when no element is focused, key events received by the
- document must be targetted at <span>the <code>body</code>
- element</span>.</p>
+ document must be targetted at <span>the body element</span>.</p>
<p>User agents may track focus for each <span>browsing
context</span> or <code>Document</code> individually, or may support
@@ -47814,8 +47811,8 @@
title="dom-document-activeElement"><code>activeElement</code></dfn>
attribute on <code>DocumentHTML</code> objects must return the
element in the document that is focused. If no element in the
- <code>Document</code> is focused, this must return <span>the
- <code>body</code> element</span>.</p>
+ <code>Document</code> is focused, this must return <span>the body
+ element</span>.</p>
<p>The <dfn
title="dom-document-hasFocus"><code>hasFocus()</code></dfn> method
@@ -60854,27 +60851,27 @@
<p>The <dfn title="dom-document-fgColor"><code>fgColor</code></dfn>
attribute on the <code>Document</code> object must
<span>reflect</span> the <code title="attr-body-text">text</code>
- attribute on <span>the <code>body</code> element</span>.</p>
+ attribute on <span>the body element</span>.</p>
<p>The <dfn title="dom-document-bgColor"><code>bgColor</code></dfn>
attribute on the <code>Document</code> object must
<span>reflect</span> the <code title="attr-body-bgcolor">bgcolor</code>
- attribute on <span>the <code>body</code> element</span>.</p>
+ attribute on <span>the body element</span>.</p>
<p>The <dfn title="dom-document-linkColor"><code>linkColor</code></dfn>
attribute on the <code>Document</code> object must
<span>reflect</span> the <code title="attr-body-link">link</code>
- attribute on <span>the <code>body</code> element</span>.</p>
+ attribute on <span>the body element</span>.</p>
<p>The <dfn title="dom-document-vLinkColor"><code>vLinkColor</code></dfn>
attribute on the <code>Document</code> object must
<span>reflect</span> the <code title="attr-body-vlink">vlink</code>
- attribute on <span>the <code>body</code> element</span>.</p>
+ attribute on <span>the body element</span>.</p>
<p>The <dfn title="dom-document-aLinkColor"><code>aLinkColor</code></dfn>
attribute on the <code>Document</code> object must
<span>reflect</span> the <code title="attr-body-alink">alink</code>
- attribute on <span>the <code>body</code> element</span>.</p>
+ attribute on <span>the body element</span>.</p>
<pre class="idl">[XXX] interface <span>HTMLBodyElement</span> {
attribute DOMString <span title="dom-body-text">text</span>;
More information about the Commit-Watchers
mailing list