- From: poot <cvsmail@w3.org>
- Date: Wed, 21 Jan 2009 20:38:04 +0900 (JST)
- To: public-html-diffs@w3.org
consistency fix (whatwg r2687) HTMLBodyElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#htmlbodyelement hasFocus() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-hasfocus 6.5.3 Document-level focus APIs http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#document-level-focus-apis aLinkColor http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-alinkcolor 4.4.2 The section element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#the-section-element 6.5 Focus http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#focus linkColor http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-linkcolor vLinkColor http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-vlinkcolor In addition, whenever you exit a node, after doing the steps above, if current section is not null, associate the node with the section current section. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#associatedSection fgColor http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-fgcolor bgColor http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#dom-document-bgcolor 4.4.10.2 Distinguishing site-wide headings from page headings http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#distinguishing-site-wide-headings-from-page-headings 4.4.9 The address element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1857.html#the-address-element http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1856&r2=1.1857&f=h http://html5.org/tools/web-apps-tracker?from=2686&to=2687 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1856 retrieving revision 1.1857 diff -u -d -r1.1856 -r1.1857 --- Overview.html 21 Jan 2009 11:34:15 -0000 1.1856 +++ Overview.html 21 Jan 2009 11:34:53 -0000 1.1857 @@ -8630,10 +8630,10 @@ on the <code><a href=#the-body-element>body</a></code> element, shadow the generic <code title=handler-onerror><a href=#handler-onerror>onerror</a></code> and <code title=handler-onmessage><a href=#handler-onmessage>onmessage</a></code> <a href=#event-handler-attributes-0>event handler attributes</a> normally supported by <a href=#html-elements>HTML elements</a>.<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.<h4 id=the-section-element><span class=secno>4.4.2 </span>The <dfn><code>section</code></dfn> element</h4><dl class=element><dt>Categories</dt> <dd><a href=#flow-content-0>Flow content</a>.</dd> @@ -8932,8 +8932,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.<div class=example> + 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.<div class=example> <p>For example, a page at the W3C Web site related to HTML might include the following contact information:</p> <pre><ADDRESS> @@ -9285,9 +9285,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 @@ -9330,25 +9330,24 @@ </div><h5 id=distinguishing-site-wide-headings-from-page-headings><span class=secno>4.4.10.2 </span>Distinguishing site-wide headings from page headings</h5><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>If a page starts with a heading that is common to the whole site, + 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>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>If a page does not contain a site-wide heading, then the page + <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>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 class=note>Conceptually, a site is thus a document with many @@ -33736,8 +33735,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>User agents may track focus for each <a href=#browsing-context>browsing + document must be targetted at <a href=#the-body-element-1>the body element</a>.<p>User agents may track focus for each <a href=#browsing-context>browsing context</a> or <code>Document</code> individually, or may support only one focused elment per <a href=#top-level-browsing-context>top-level browsing context</a> — user agents should follow platform conventions in this @@ -33878,8 +33876,8 @@ <a href=#focusable>focusable</a> element.<h4 id=document-level-focus-apis><span class=secno>6.5.3 </span>Document-level focus APIs</h4><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>The <dfn id=dom-document-hasfocus title=dom-document-hasFocus><code>hasFocus()</code></dfn> method + <code>Document</code> is focused, this must return <a href=#the-body-element-1>the body + element</a>.<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 document's <a href=#browsing-context>browsing context</a> is focused, and all its <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor browsing @@ -45688,19 +45686,19 @@ };</pre><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>The <dfn id=dom-document-bgcolor title=dom-document-bgColor><code>bgColor</code></dfn> + attribute on <a href=#the-body-element-1>the body element</a>.<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>The <dfn id=dom-document-linkcolor title=dom-document-linkColor><code>linkColor</code></dfn> + attribute on <a href=#the-body-element-1>the body element</a>.<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>The <dfn id=dom-document-vlinkcolor title=dom-document-vLinkColor><code>vLinkColor</code></dfn> + attribute on <a href=#the-body-element-1>the body element</a>.<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>The <dfn id=dom-document-alinkcolor title=dom-document-aLinkColor><code>aLinkColor</code></dfn> + attribute on <a href=#the-body-element-1>the body element</a>.<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>.<pre class=idl>[XXX] interface <a href=#htmlbodyelement>HTMLBodyElement</a> { + attribute on <a href=#the-body-element-1>the body element</a>.<pre class=idl>[XXX] interface <a href=#htmlbodyelement>HTMLBodyElement</a> { attribute DOMString <a href=#dom-body-text title=dom-body-text>text</a>; attribute DOMString <a href=#dom-body-bgcolor title=dom-body-bgColor>bgColor</a>; attribute DOMString <a href=#dom-body-background title=dom-body-background>background</a>;
Received on Wednesday, 21 January 2009 11:38:42 UTC