- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Oct 2011 19:23:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv20380
Modified Files:
Overview.html
Log Message:
Try to clarify that global HTML attributes aren't global across other namespaces without having to litter '...and is an HTML element' all over the spec. (whatwg r6754)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5413
retrieving revision 1.5414
diff -u -d -r1.5413 -r1.5414
--- Overview.html 25 Oct 2011 18:44:22 -0000 1.5413
+++ Overview.html 25 Oct 2011 19:23:06 -0000 1.5414
@@ -8579,7 +8579,32 @@
<li><code title="attr-style"><a href="#the-style-attribute">style</a></code></li>
<li><code title="attr-tabindex"><a href="#attr-tabindex">tabindex</a></code></li>
<li><code title="attr-title"><a href="#the-title-attribute">title</a></code></li>
- </ul><hr><p>The following <a href="#event-handler-content-attributes">event handler content attributes</a> may
+ </ul><div class="impl">
+
+ <p>These attributes are only defined by this specification as
+ attributes for <a href="#html-elements">HTML elements</a>. When this specification
+ refers to elements having these attributes, elements from namespaces
+ that are not defined as having these attributes must not be
+ considered as being elements with these attributes.</p>
+
+ <div class="example">
+
+ <p>For example, in the following XML fragment, the "<code title="">bogus</code>" element does not have a <code title="attr-dir"><a href="#the-dir-attribute">dir</a></code> attribute as defined in this
+ specification, despite having an attribute with the literal name
+ "<code title="">dir</code>". Thus, <a href="#the-directionality">the directionality</a>
+ of the inner-most <code><a href="#the-span-element">span</a></code> element is '<a href="#concept-rtl" title="concept-rtl">rtl</a>', inherited from the
+ <code><a href="#the-div-element">div</a></code> element indirectly through the "<code title="">bogus</code>" element.</p>
+
+ <pre class="bad"><div xmlns="http://www.w3.org/1999/html" dir="rtl">
+ <bogus xmlns="http://example.net/ns" dir="ltr">
+ <span xmlns="http://www.w3.org/1999/html">
+ </span>
+ </bogus>
+</div></pre>
+
+ </div>
+
+ </div><hr><p>The following <a href="#event-handler-content-attributes">event handler content attributes</a> may
be specified on any <a href="#html-elements" title="HTML elements">HTML
element</a>:<ul class="brief"><li><code title="handler-onabort"><a href="#handler-onabort">onabort</a></code></li>
<li><code title="handler-onblur"><a href="#handler-onblur">onblur</a></code>*</li>
Received on Tuesday, 25 October 2011 19:23:16 UTC