- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Oct 2011 19:46:26 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv26075 Modified Files: elements.html spec.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) [updated by splitter] Index: elements.html =================================================================== RCS file: /sources/public/html5/spec/elements.html,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- elements.html 20 Oct 2011 23:46:26 -0000 1.73 +++ elements.html 25 Oct 2011 19:46:24 -0000 1.74 @@ -601,7 +601,32 @@ <li><code title="attr-style"><a href="#the-style-attribute">style</a></code></li> <li><code title="attr-tabindex"><a href="editing.html#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="webappapis.html#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="infrastructure.html#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="text-level-semantics.html#the-span-element">span</a></code> element is '<a href="#concept-rtl" title="concept-rtl">rtl</a>', inherited from the + <code><a href="grouping-content.html#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="webappapis.html#event-handler-content-attributes">event handler content attributes</a> may be specified on any <a href="infrastructure.html#html-elements" title="HTML elements">HTML element</a>:</p><ul class="brief"><li><code title="handler-onabort"><a href="webappapis.html#handler-onabort">onabort</a></code></li> <li><code title="handler-onblur"><a href="webappapis.html#handler-onblur">onblur</a></code>*</li> Index: spec.html =================================================================== RCS file: /sources/public/html5/spec/spec.html,v retrieving revision 1.1749 retrieving revision 1.1750 diff -u -d -r1.1749 -r1.1750 --- spec.html 25 Oct 2011 18:46:26 -0000 1.1749 +++ spec.html 25 Oct 2011 19:46:24 -0000 1.1750 @@ -349,7 +349,7 @@ <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. -This is revision 1.5413. +This is revision 1.5414. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 25 October 2011 19:46:29 UTC