[html5] r5527 - [e] (0) Mention xml:space since people seem unable to read the XML spec. Fixing [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 28 10:44:15 PDT 2010
Author: ianh
Date: 2010-09-28 10:44:14 -0700 (Tue, 28 Sep 2010)
New Revision: 5527
Modified:
complete.html
index
source
Log:
[e] (0) Mention xml:space since people seem unable to read the XML spec.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10197
Modified: complete.html
===================================================================
--- complete.html 2010-09-28 06:49:55 UTC (rev 5526)
+++ complete.html 2010-09-28 17:44:14 UTC (rev 5527)
@@ -9265,6 +9265,15 @@
actually have an <code title="">xmlns</code> attribute in no
namespace specified.</p>
+ <hr><p>The XML specification also allows the use of the <code title=attr-xml-space>xml:space</code> attribute in the <a href=#xml-namespace>XML
+ namespace</a> on any element in an <a href=#xml-documents title="XML
+ documents">XML document</a>. This attribute has no effect on
+ <a href=#html-elements>HTML elements</a>, as the default behavior in HTML is to
+ preserve whitespace. <a href=#refsXML>[XML]</a></p>
+
+ <p class=note>There is no way to serialize the <code title=attr-xml-space>xml:space</code> attribute on <a href=#html-elements>HTML
+ elements</a> in the <code><a href=#text/html>text/html</a></code> syntax.</p>
+
<hr><p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <a href=#annotations-for-assistive-technology-products-(aria)>annotations for assistive technology
Modified: index
===================================================================
--- index 2010-09-28 06:49:55 UTC (rev 5526)
+++ index 2010-09-28 17:44:14 UTC (rev 5527)
@@ -9242,6 +9242,15 @@
actually have an <code title="">xmlns</code> attribute in no
namespace specified.</p>
+ <hr><p>The XML specification also allows the use of the <code title=attr-xml-space>xml:space</code> attribute in the <a href=#xml-namespace>XML
+ namespace</a> on any element in an <a href=#xml-documents title="XML
+ documents">XML document</a>. This attribute has no effect on
+ <a href=#html-elements>HTML elements</a>, as the default behavior in HTML is to
+ preserve whitespace. <a href=#refsXML>[XML]</a></p>
+
+ <p class=note>There is no way to serialize the <code title=attr-xml-space>xml:space</code> attribute on <a href=#html-elements>HTML
+ elements</a> in the <code><a href=#text/html>text/html</a></code> syntax.</p>
+
<hr><p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <a href=#annotations-for-assistive-technology-products-(aria)>annotations for assistive technology
Modified: source
===================================================================
--- source 2010-09-28 06:49:55 UTC (rev 5526)
+++ source 2010-09-28 17:44:14 UTC (rev 5527)
@@ -9351,6 +9351,19 @@
<hr>
+ <p>The XML specification also allows the use of the <code
+ title="attr-xml-space">xml:space</code> attribute in the <span>XML
+ namespace</span> on any element in an <span title="XML
+ documents">XML document</span>. This attribute has no effect on
+ <span>HTML elements</span>, as the default behavior in HTML is to
+ preserve whitespace. <a href="#refsXML">[XML]</a></p>
+
+ <p class="note">There is no way to serialize the <code
+ title="attr-xml-space">xml:space</code> attribute on <span>HTML
+ elements</span> in the <code>text/html</code> syntax.</p>
+
+ <hr>
+
<p>To enable assistive technology products to expose a more
fine-grained interface than is otherwise possible with HTML elements
and attributes, a set of <span>annotations for assistive technology
More information about the Commit-Watchers
mailing list