[html5] r1836 - [c] (0) Take all the fun out of <embed> and data-*. (bug 5809) (credit: hs)
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 30 17:08:34 PDT 2008
Author: ianh
Date: 2008-06-30 17:08:33 -0700 (Mon, 30 Jun 2008)
New Revision: 1836
Modified:
index
source
Log:
[c] (0) Take all the fun out of <embed> and data-*. (bug 5809) (credit: hs)
Modified: index
===================================================================
--- index 2008-06-30 23:52:10 UTC (rev 1835)
+++ index 2008-07-01 00:08:33 UTC (rev 1836)
@@ -25,7 +25,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft>Draft Recommendation — 30 June
+ <h2 class="no-num no-toc" id=draft>Draft Recommendation — 1 July
2008</h2>
<p>You can take part in this work. <a
@@ -2568,6 +2568,13 @@
<dd><code>http://www.w3.org/2000/svg</code>
</dl>
+ <p>Attribute names are said to be <dfn
+ id=xml-compatible>XML-compatible</dfn> if they match the <a
+ href="http://www.w3.org/TR/REC-xml/#NT-Name"><code
+ title="">Name</code></a> production defined in XML, they contain no U+003A
+ COLON (:) characters, and they do not start with three characters "<code
+ title="">xml</code>". <a href="#refsXML">[XML]</a>
+
<p>The term <a href="#html-">HTML documents</a> is sometimes used in
contrast with <a href="#xml-documents">XML documents</a> to specifically
mean documents that were parsed using an <a href="#html-0">HTML parser</a>
@@ -7629,8 +7636,9 @@
<p>A <dfn id=custom>custom data attribute</dfn> is an attribute whose name
starts with the string "<dfn id=data-
- title="attr-data-*"><code>data-</code></dfn>" and has at least one
- character after the hyphen.
+ title="attr-data-*"><code>data-</code></dfn>", has at least one character
+ after the hyphen, is <a href="#xml-compatible">XML-compatible</a>, and has
+ no namespace.
<p><a href="#custom" title="custom data attribute">Custom data
attributes</a> are intended to store custom data private to the page or
@@ -16208,9 +16216,12 @@
<p>The user agent should pass the names and values of all the attributes of
the <code><a href="#embed">embed</a></code> element that have no namespace
- to the <a href="#plugin">plugin</a> used. Any (namespace-less) attribute
- may be specified on the <code><a href="#embed">embed</a></code> element.
+ to the <a href="#plugin">plugin</a> used.
+ <p>Any (namespace-less) attribute may be specified on the <code><a
+ href="#embed">embed</a></code> element, so long as its name is <a
+ href="#xml-compatible">XML-compatible</a>.
+
<p>The <code><a href="#embed">embed</a></code> element has no <a
href="#fallback">fallback content</a>. If the user agent can't display the
specified resource, e.g. because the given type is not supported, then the
Modified: source
===================================================================
--- source 2008-06-30 23:52:10 UTC (rev 1835)
+++ source 2008-07-01 00:08:33 UTC (rev 1836)
@@ -802,6 +802,13 @@
<dd><code>http://www.w3.org/2000/svg</code></dd>
</dl>
+ <p>Attribute names are said to be <dfn>XML-compatible</dfn> if they
+ match the <a href="http://www.w3.org/TR/REC-xml/#NT-Name"><code
+ title="">Name</code></a> production defined in XML, they contain no
+ U+003A COLON (:) characters, and they do not start with three
+ characters "<code title="">xml</code>". <a
+ href="#refsXML">[XML]</a></p>
+
<p>The term <span>HTML documents</span> is sometimes used in
contrast with <span>XML documents</span> to specifically mean
documents that were parsed using an <span>HTML parser</span> (as
@@ -5798,8 +5805,9 @@
<p>A <dfn>custom data attribute</dfn> is an attribute whose name
starts with the string "<dfn
- title="attr-data-*"><code>data-</code></dfn>" and has at least one
- character after the hyphen.</p>
+ title="attr-data-*"><code>data-</code></dfn>", has at least one
+ character after the hyphen, is <span>XML-compatible</span>, and has
+ no namespace.</p>
<p><span title="custom data attribute">Custom data attributes</span>
are intended to store custom data private to the page or
@@ -14000,9 +14008,12 @@
<p>The user agent should pass the names and values of all the
attributes of the <code>embed</code> element that have no namespace
- to the <span>plugin</span> used. Any (namespace-less) attribute may
- be specified on the <code>embed</code> element.</p>
+ to the <span>plugin</span> used.</p>
+ <p>Any (namespace-less) attribute may be specified on the
+ <code>embed</code> element, so long as its name is
+ <span>XML-compatible</span>.</p>
+
<p>The <code>embed</code> element has no <span>fallback
content</span>. If the user agent can't display the specified
resource, e.g. because the given type is not supported, then the
More information about the Commit-Watchers
mailing list