Bugzilla – Bug 263
Take all the fun out of <embed> and data-*. (bug 5809) (credit: hs)
Last modified: 2009-11-23 17:16:56 CET
Index: source =================================================================== --- source (revision 1835) +++ source (revision 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,8 +14008,11 @@ <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