W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12230] From this algorithm it does not seem to follow that dispatching a synthetic non-canceled submit event at a form causes it to be submitted. Yet that is what browsers implement. So that forms have a default handler for submit events should probably be split

From: <bugzilla@jessica.w3.org>
Date: Mon, 07 Mar 2011 18:13:45 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PwewD-0005d8-VS@jessica.w3.org>

Jacob Rossi [MSFT] <jrossi@microsoft.com> changed:

           What    |Removed                     |Added
                 CC|                            |jrossi@microsoft.com

--- Comment #7 from Jacob Rossi [MSFT] <jrossi@microsoft.com> 2011-03-07 18:13:44 UTC ---
DOM L3 Events states that "Most untrusted events should not trigger default
actions, with the exception of click..."[1].

IE9 and Webkit match this behavior:

* synthetic click events on links cause navigation
* synthetic submit events on forms do not cause form submission

The HTML5 form submission algorithm matches D3E, IE9, and Webkit. 

In general, I think D3E is right that untrusted events should not induce
default actions. The exception for click is mostly historical (because click is
often used as an activation event).

I don't think this change is advised.


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 7 March 2011 18:13:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:44 UTC