html5/spec Overview.html,1.1708,1.1709

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv31111

Modified Files:
	Overview.html 
Log Message:
Make focused elements fire onclick='' when the user activates them with the keyboard. (whatwg r2538)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1708
retrieving revision 1.1709
diff -u -d -r1.1708 -r1.1709
--- Overview.html	16 Dec 2008 23:29:13 -0000	1.1708
+++ Overview.html	16 Dec 2008 23:43:44 -0000	1.1709
@@ -32761,7 +32761,13 @@
   </dl><p>An element is <dfn id=focusable>focusable</dfn> if the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute's definition above
   defines the element to be focusable <em>and</em> the element is
   <span>being rendered</span><!-- XXX xref, define display:none as not
-  being rendered, off-screen as being rendered? -->.<p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> DOM
+  being rendered, off-screen as being rendered? -->.<p>An element that is <a href=#focusable>focusable</a> but does not otherwise
+  have an <a href=#activation-behavior>activation behavior</a> defined has an
+  <a href=#activation-behavior>activation behavior</a> that does nothing.<p class=note>This means that an element that is only focusable
+  because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
+  will fire a <code title=event-click>click</code> event in response
+  to a non-mouse activation (e.g. hitting the "enter" key while the
+  element is focused).<p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> DOM
   attribute must <a href=#reflect>reflect</a> the value of the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> content attribute. If the
   attribute is not present, or parsing its value returns an error,
   then the DOM attribute must return 0 for elements that are focusable

Received on Tuesday, 16 December 2008 23:43:55 UTC