- From: poot <cvsmail@w3.org>
- Date: Fri, 18 Mar 2011 18:01:04 -0400
- To: public-html-diffs@w3.org
eliot: Rewrote the note in section 7.2 to comply with request in bug
10152, comment 19
http://dev.w3.org/cvsweb/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html?r1=1.69&r2=1.70&f=h
===================================================================
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 22:01:06 UTC