Skip to content

Commit

Permalink
[c] (0) Take all the fun out of <embed> and data-*. (bug 5809) (credi…
Browse files Browse the repository at this point in the history
…t: hs)

git-svn-id: http://svn.whatwg.org/webapps@1836 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 1, 2008
1 parent 576b26c commit afd41a8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
21 changes: 16 additions & 5 deletions index
Expand Up @@ -25,7 +25,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 30 June
<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 1 July
2008</h2>

<p>You can take part in this work. <a
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -7629,8 +7636,9 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>

<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
Expand Down Expand Up @@ -16208,8 +16216,11 @@ the time Marco had stuck his tongue out...&lt;/p></pre>

<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
Expand Down
19 changes: 15 additions & 4 deletions source
Expand Up @@ -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
Expand Down Expand Up @@ -5798,8 +5805,9 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>

<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
Expand Down Expand Up @@ -14000,8 +14008,11 @@ the time Marco had stuck his tongue out...&lt;/p></pre>

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

0 comments on commit afd41a8

Please sign in to comment.