Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Fix a couple of places that misinvoked the default activat…
…ion behaviour.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7164 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 29, 2012
1 parent 74272d3 commit 053322f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
12 changes: 9 additions & 3 deletions complete.html
Expand Up @@ -55286,8 +55286,10 @@ <h5 id=implicit-submission><span class=secno>4.10.22.2 </span>Implicit submissio
<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 <a href=#default-button>default button</a>'s
<a href=#activation-behavior>activation behavior</a>, if any, to be run.</p>
doing so for a form whose <a href=#default-button>default button</a> has a defined
<a href=#activation-behavior>activation behavior</a> must cause the user agent to
<a href=#run-synthetic-click-activation-steps>run synthetic click activation steps</a> on that
<a href=#default-button>default button</a>.</p>

<p class=note>Consequently, if the <a href=#default-button>default button</a> is
<a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, the form is not
Expand Down Expand Up @@ -57396,7 +57398,11 @@ <h5 id=using-the-a-element-to-define-a-command><span class=secno>4.11.5.1 </span
of the command is always false. (The command is never checked.)</p>

<p>The <a href=#command-facet-action title=command-facet-Action>Action</a> of the
command is to <a href=#fire-a-click-event title="fire a click event">fire a <code title=event-click>click</code> event</a> at the element.</p>
command, if the element has a defined <a href=#activation-behavior>activation
behavior</a>, is to <a href=#run-synthetic-click-activation-steps>run synthetic click activation
steps</a> on the element. Otherwise, it is just to <a href=#fire-a-click-event>fire a
<code title=event-click>click</code> event</a> at the
element.</p>


<h5 id=using-the-button-element-to-define-a-command><span class=secno>4.11.5.2 </span><dfn title=button-command>Using the <code>button</code> element to define a command</dfn></h5>
Expand Down
12 changes: 9 additions & 3 deletions index
Expand Up @@ -55286,8 +55286,10 @@ fur
<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 <a href=#default-button>default button</a>'s
<a href=#activation-behavior>activation behavior</a>, if any, to be run.</p>
doing so for a form whose <a href=#default-button>default button</a> has a defined
<a href=#activation-behavior>activation behavior</a> must cause the user agent to
<a href=#run-synthetic-click-activation-steps>run synthetic click activation steps</a> on that
<a href=#default-button>default button</a>.</p>

<p class=note>Consequently, if the <a href=#default-button>default button</a> is
<a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, the form is not
Expand Down Expand Up @@ -57396,7 +57398,11 @@ fur
of the command is always false. (The command is never checked.)</p>

<p>The <a href=#command-facet-action title=command-facet-Action>Action</a> of the
command is to <a href=#fire-a-click-event title="fire a click event">fire a <code title=event-click>click</code> event</a> at the element.</p>
command, if the element has a defined <a href=#activation-behavior>activation
behavior</a>, is to <a href=#run-synthetic-click-activation-steps>run synthetic click activation
steps</a> on the element. Otherwise, it is just to <a href=#fire-a-click-event>fire a
<code title=event-click>click</code> event</a> at the
element.</p>


<h5 id=using-the-button-element-to-define-a-command><span class=secno>4.11.5.2 </span><dfn title=button-command>Using the <code>button</code> element to define a command</dfn></h5>
Expand Down
13 changes: 9 additions & 4 deletions source
Expand Up @@ -64552,8 +64552,10 @@ fur
<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
Expand Down Expand Up @@ -67088,8 +67090,11 @@ fur
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>
Expand Down

0 comments on commit 053322f

Please sign in to comment.