Skip to content

Commit

Permalink
[e] (0) Mention xml:space since people seem unable to read the XML spec.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10197

git-svn-id: http://svn.whatwg.org/webapps@5527 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 28, 2010
1 parent 8540558 commit 846c6a6
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
9 changes: 9 additions & 0 deletions complete.html
Expand Up @@ -9265,6 +9265,15 @@ <h4 id=global-attributes><span class=secno>3.2.3 </span><dfn>Global attributes</
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
Expand Down
9 changes: 9 additions & 0 deletions index
Expand Up @@ -9242,6 +9242,15 @@ interface <dfn id=htmlunknownelement>HTMLUnknownElement</dfn> : <a href=#htmlele
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
Expand Down
13 changes: 13 additions & 0 deletions source
Expand Up @@ -9351,6 +9351,19 @@ interface <dfn>HTMLUnknownElement</dfn> : <span>HTMLElement</span> { };</pre>

<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
Expand Down

0 comments on commit 846c6a6

Please sign in to comment.