[html5] r7609 - [giow] (3) Mostly, browsers seem to make these events bubble. Fixing https://www [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Dec 29 19:38:23 PST 2012


Author: ianh
Date: 2012-12-29 19:38:22 -0800 (Sat, 29 Dec 2012)
New Revision: 7609

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Mostly, browsers seem to make these events bubble.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19125
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-12-30 02:29:18 UTC (rev 7608)
+++ complete.html	2012-12-30 03:38:22 UTC (rev 7609)
@@ -56909,12 +56909,11 @@
    invalid fields and probably informed the user of this) then abort
    these steps.</li>
 
-   <li><p>If the <var title="">submitted from <code title=dom-form-submit><a href=#dom-form-submit>submit()</a></code> method</var> flag is not
-   set, then <a href=#fire-a-simple-event>fire a simple event</a> that is cancelable named
-   <code title=event-submit>submit</code>, at <var title="">form</var>. If the event's default action is prevented
-   (i.e. if the event is canceled) then abort these steps. Otherwise,
-   continue (effectively the default action is to perform the
-   submission).</li>
+   <li><p>If the <var title="">submitted from <code title=dom-form-submit><a href=#dom-form-submit>submit()</a></code>
+   method</var> flag is not set, then <a href=#fire-a-simple-event>fire a simple event</a> that bubbles and is
+   cancelable named <code title=event-submit>submit</code>, at <var title="">form</var>. If the
+   event's default action is prevented (i.e. if the event is canceled) then abort these steps.
+   Otherwise, continue (effectively the default action is to perform the submission).</li>
 
    <!-- if you add any steps between the "lock" and "unlock" lines,
    make sure to update the step immediately before the "lock" line -->
@@ -57845,11 +57844,8 @@
 
   <h4 id=resetting-a-form><span class=secno>4.10.23 </span>Resetting a form</h4>
 
-  <p>When a <code><a href=#the-form-element>form</a></code> element <var title="">form</var> is <dfn id=concept-form-reset title=concept-form-reset>reset</dfn>, the user agent must
-  <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-reset>reset</code>, that is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must
-  invoke the <a href=#concept-form-reset-control title=concept-form-reset-control>reset
-  algorithm</a> of each <a href=#category-reset title=category-reset>resettable
-  element</a> whose <a href=#form-owner>form owner</a> is <var title="">form</var>.</p>
+  <p>When a <code><a href=#the-form-element>form</a></code> element <var title="">form</var> is <dfn id=concept-form-reset title=concept-form-reset>reset</dfn>, the user agent must <a href=#fire-a-simple-event>fire a simple event</a> named
+  <code title=event-reset>reset</code>, that bubbles and is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must invoke the <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a> of each <a href=#category-reset title=category-reset>resettable element</a> whose <a href=#form-owner>form owner</a> is <var title="">form</var>.</p>
 
   <p>Each <a href=#category-reset title=category-reset>resettable element</a>
   defines its own <dfn id=concept-form-reset-control title=concept-form-reset-control>reset
@@ -105425,6 +105421,7 @@
   Yehuda Katz,
   Yi-An Huang,
   Yngve Nysaeter Pettersen,
+  Yonathan Randolph,
   Yuzo Fujishima,
   Zhenbin Xu,
   Zoltan Herczeg,

Modified: index
===================================================================
--- index	2012-12-30 02:29:18 UTC (rev 7608)
+++ index	2012-12-30 03:38:22 UTC (rev 7609)
@@ -56909,12 +56909,11 @@
    invalid fields and probably informed the user of this) then abort
    these steps.</li>
 
-   <li><p>If the <var title="">submitted from <code title=dom-form-submit><a href=#dom-form-submit>submit()</a></code> method</var> flag is not
-   set, then <a href=#fire-a-simple-event>fire a simple event</a> that is cancelable named
-   <code title=event-submit>submit</code>, at <var title="">form</var>. If the event's default action is prevented
-   (i.e. if the event is canceled) then abort these steps. Otherwise,
-   continue (effectively the default action is to perform the
-   submission).</li>
+   <li><p>If the <var title="">submitted from <code title=dom-form-submit><a href=#dom-form-submit>submit()</a></code>
+   method</var> flag is not set, then <a href=#fire-a-simple-event>fire a simple event</a> that bubbles and is
+   cancelable named <code title=event-submit>submit</code>, at <var title="">form</var>. If the
+   event's default action is prevented (i.e. if the event is canceled) then abort these steps.
+   Otherwise, continue (effectively the default action is to perform the submission).</li>
 
    <!-- if you add any steps between the "lock" and "unlock" lines,
    make sure to update the step immediately before the "lock" line -->
@@ -57845,11 +57844,8 @@
 
   <h4 id=resetting-a-form><span class=secno>4.10.23 </span>Resetting a form</h4>
 
-  <p>When a <code><a href=#the-form-element>form</a></code> element <var title="">form</var> is <dfn id=concept-form-reset title=concept-form-reset>reset</dfn>, the user agent must
-  <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-reset>reset</code>, that is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must
-  invoke the <a href=#concept-form-reset-control title=concept-form-reset-control>reset
-  algorithm</a> of each <a href=#category-reset title=category-reset>resettable
-  element</a> whose <a href=#form-owner>form owner</a> is <var title="">form</var>.</p>
+  <p>When a <code><a href=#the-form-element>form</a></code> element <var title="">form</var> is <dfn id=concept-form-reset title=concept-form-reset>reset</dfn>, the user agent must <a href=#fire-a-simple-event>fire a simple event</a> named
+  <code title=event-reset>reset</code>, that bubbles and is cancelable, at <var title="">form</var>, and then, if that event is not canceled, must invoke the <a href=#concept-form-reset-control title=concept-form-reset-control>reset algorithm</a> of each <a href=#category-reset title=category-reset>resettable element</a> whose <a href=#form-owner>form owner</a> is <var title="">form</var>.</p>
 
   <p>Each <a href=#category-reset title=category-reset>resettable element</a>
   defines its own <dfn id=concept-form-reset-control title=concept-form-reset-control>reset
@@ -105425,6 +105421,7 @@
   Yehuda Katz,
   Yi-An Huang,
   Yngve Nysaeter Pettersen,
+  Yonathan Randolph,
   Yuzo Fujishima,
   Zhenbin Xu,
   Zoltan Herczeg,

Modified: source
===================================================================
--- source	2012-12-30 02:29:18 UTC (rev 7608)
+++ source	2012-12-30 03:38:22 UTC (rev 7609)
@@ -66474,14 +66474,11 @@
    invalid fields and probably informed the user of this) then abort
    these steps.</p></li>
 
-   <li><p>If the <var title="">submitted from <code
-   title="dom-form-submit">submit()</code> method</var> flag is not
-   set, then <span>fire a simple event</span> that is cancelable named
-   <code title="event-submit">submit</code>, at <var
-   title="">form</var>. If the event's default action is prevented
-   (i.e. if the event is canceled) then abort these steps. Otherwise,
-   continue (effectively the default action is to perform the
-   submission).</p></li>
+   <li><p>If the <var title="">submitted from <code title="dom-form-submit">submit()</code>
+   method</var> flag is not set, then <span>fire a simple event</span> that bubbles and is
+   cancelable named <code title="event-submit">submit</code>, at <var title="">form</var>. If the
+   event's default action is prevented (i.e. if the event is canceled) then abort these steps.
+   Otherwise, continue (effectively the default action is to perform the submission).</p></li>
 
    <!-- if you add any steps between the "lock" and "unlock" lines,
    make sure to update the step immediately before the "lock" line -->
@@ -67671,13 +67668,11 @@
   <h4>Resetting a form</h4>
 
   <p>When a <code>form</code> element <var title="">form</var> is <dfn
-  title="concept-form-reset">reset</dfn>, the user agent must
-  <span>fire a simple event</span> named <code
-  title="event-reset">reset</code>, that is cancelable, at <var
-  title="">form</var>, and then, if that event is not canceled, must
-  invoke the <span title="concept-form-reset-control">reset
-  algorithm</span> of each <span title="category-reset">resettable
-  element</span> whose <span>form owner</span> is <var
+  title="concept-form-reset">reset</dfn>, the user agent must <span>fire a simple event</span> named
+  <code title="event-reset">reset</code>, that bubbles and is cancelable, at <var
+  title="">form</var>, and then, if that event is not canceled, must invoke the <span
+  title="concept-form-reset-control">reset algorithm</span> of each <span
+  title="category-reset">resettable element</span> whose <span>form owner</span> is <var
   title="">form</var>.</p>
 
   <p>Each <span title="category-reset">resettable element</span>
@@ -123352,6 +123347,7 @@
   Yehuda Katz,
   Yi-An Huang,
   Yngve Nysaeter Pettersen,
+  Yonathan Randolph,
   Yuzo Fujishima,
   Zhenbin Xu,
   Zoltan Herczeg,




More information about the Commit-Watchers mailing list