HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7164

SVNBugCommentTime (UTC)
7164[Gecko] [Internet Explorer] [Opera] [Webkit] Fix a couple of places that misinvoked the default activation behaviour.2012-06-29 23:20
Index: source
===================================================================
--- source	(revision 7163)
+++ source	(revision 7164)
@@ -64552,8 +64552,10 @@
   <p>If the platform supports letting the user submit a form
   implicitly (for example, on some platforms hitting the "enter" key
   while a text field is focused implicitly submits the form), then
-  doing so must cause the form's <span>default button</span>'s
-  <span>activation behavior</span>, if any, to be run.</p>
+  doing so for a form whose <span>default button</span> has a defined
+  <span>activation behavior</span> must cause the user agent to
+  <span>run synthetic click activation steps</span> on that
+  <span>default button</span>.</p>
 
   <p class="note">Consequently, if the <span>default button</span> is
   <span title="concept-fe-disabled">disabled</span>, the form is not
@@ -67088,8 +67090,11 @@
   of the command is always false. (The command is never checked.)</p>
 
   <p>The <span title="command-facet-Action">Action</span> of the
-  command is to <span title="fire a click event">fire a <code
-  title="event-click">click</code> event</span> at the element.</p>
+  command, if the element has a defined <span>activation
+  behavior</span>, is to <span>run synthetic click activation
+  steps</span> on the element. Otherwise, it is just to <span>fire a
+  <code title="event-click">click</code> event</span> at the
+  element.</p>
 
 
   <h5><dfn title="button-command">Using the <code>button</code> element to define a command</dfn></h5>

|