- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 19 Jan 2010 07:18:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv26273 Modified Files: Overview.html Log Message: Make the 'language' dfn more clearly the UA requirement. (whatwg r4612) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3674 retrieving revision 1.3675 diff -u -d -r1.3674 -r1.3675 --- Overview.html 18 Jan 2010 12:55:39 -0000 1.3674 +++ Overview.html 19 Jan 2010 07:18:33 -0000 1.3675 @@ -262,7 +262,7 @@ <h1>HTML5</h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-18-january-2010">Editor's Draft 18 January 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-19-january-2010">Editor's Draft 19 January 2010</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -361,7 +361,7 @@ specification's progress along the W3C Recommendation track. - This specification is the 18 January 2010 Editor's Draft. + This specification is the 19 January 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> @@ -6893,12 +6893,12 @@ content attribute.</p> </div><h5 id="the-lang-and-xml:lang-attributes"><span class="secno">3.2.3.3 </span>The <code title="attr-lang"><a href="#attr-lang">lang</a></code> and <code title="attr-xml-lang"><a href="#attr-xml-lang">xml:lang</a></code> attributes</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-lang" title="attr-lang"><code>lang</code></dfn> attribute (in - no namespace) specifies the primary <dfn id="language">language</dfn> for the - element's contents and for any of the element's attributes that - contain text. Its value must be a valid BCP 47 language code, or the - empty string. Setting the attribute to the empty string indicates - that the primary language is unknown<!-- UA conformance requirements - for this are below -->. <a href="#refsBCP47">[BCP47]</a><p>The <dfn id="attr-xml-lang" title="attr-xml-lang"><code title="">lang</code></dfn> + no namespace) specifies the primary language for the element's + contents and for any of the element's attributes that contain + text. Its value must be a valid BCP 47 language code, or the empty + string. Setting the attribute to the empty string indicates that the + primary language is unknown<!-- UA conformance requirements for this + are below -->. <a href="#refsBCP47">[BCP47]</a><p>The <dfn id="attr-xml-lang" title="attr-xml-lang"><code title="">lang</code></dfn> attribute in the <a href="#xml-namespace">XML namespace</a> is defined in XML. <a href="#refsXML">[XML]</a><p>If these attributes are omitted from an element, then the language of this element is the same as the language of its parent element, if any.<p>The <code title="attr-lang"><a href="#attr-lang">lang</a></code> attribute in no namespace @@ -6926,10 +6926,10 @@ with the literal localname "<code title="">xml:lang</code>" has no effect on language processing.<div class="impl"> - <hr><p>To determine the language of a node, user agents must look at the - nearest ancestor element (including the element itself if the node - is an element) that has a <a href="#attr-xml-lang" title="attr-xml-lang"><code title="">lang</code> attribute in the <span>XML - namespace</span></a> set or is an <a href="#html-elements" title="HTML + <hr><p>To determine the <dfn id="language">language</dfn> of a node, user agents must + look at the nearest ancestor element (including the element itself + if the node is an element) that has a <a href="#attr-xml-lang" title="attr-xml-lang"><code title="">lang</code> attribute in the + <span>XML namespace</span></a> set or is an <a href="#html-elements" title="HTML elements">HTML element</a> and has a <code title="attr-lang"><a href="#attr-lang">lang</a></code> in no namespace attribute set. That attribute specifies the language of the node.</p>
Received on Tuesday, 19 January 2010 07:18:38 UTC