- From: Eliot Graff via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Mar 2011 21:58:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-xhtml-author-guide In directory hutz:/tmp/cvs-serv20709 Modified Files: html-xhtml-authoring-guide.html Log Message: Rewrote the note in section 7.2 to comply with request in bug 10152, comment 19 Index: html-xhtml-authoring-guide.html =================================================================== RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- html-xhtml-authoring-guide.html 17 Mar 2011 20:09:55 -0000 1.69 +++ html-xhtml-authoring-guide.html 18 Mar 2011 21:58:53 -0000 1.70 @@ -14,7 +14,7 @@ <a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"/></a> </p> <h1 class="title" id="title">Polyglot Markup: HTML-Compatible XHTML Documents</h1> - <h2 id="w3c-editor-s-draft-17-march-2011">W3C Editor's Draft 17 March 2011</h2> + <h2 id="w3c-editor-s-draft-18-march-2011">W3C Editor's Draft 17 March 2011</h2> <dl> <dt>This version:</dt> <dd><a href="http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html">http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html</a></dd> @@ -768,11 +768,16 @@ <a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a> uses the language attributes in the <code>html</code> element to set the default language for the document. </p> <p class="note"> - Whenever the <code>http-equiv="content-language"</code> attribute on the <code><meta></code> element specifies the language of the root element, - then it is required to specify the language mapping of the root element. + Whenever either the <code>http-equiv="content-language"</code> attribute on the <code><meta></code> element + or an HTTP Content-Language: header specifies the language of the root element, + then <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> is required to specify the language mapping of the root element. According to <a href="http://dev.w3.org/html5/spec/semantics.html#attr-meta-http-equiv-content-language">Content language state</a> in [<cite><a href="#bib-HTML5" rel="biblioentry" class="bibref">HTML5</a></cite>], the <code>http-equiv="content-language"</code> attribute on the <code><meta></code> element specifices the language of the root element - whenever its <code>content</code> attribute contains no more and no less than exactly one language tag. + whenever its <code>content</code> attribute contains no more and no +less than exactly one language tag. + Therefore, not specifying the language mapping of the root element +would mean that HTML5 would interpret this as setting the default +language for the root element, while XML did not." </p> <!--End section: Language Attributes-->
Received on Friday, 18 March 2011 21:58:56 UTC