[whatwg] HTMLForms: Implicit Submission with {display:none} button

Boris Zbarsky bzbarsky at MIT.EDU
Sun Sep 25 19:39:50 PDT 2011

On 9/25/11 5:35 PM, Ryosuke Niwa wrote:
> So Gecko fires a click event on a button even if
> it had display: none or visibiliy: hidden?

In this situation, yes.  Just like as if you called dispatchEvent on it.

Of course you can't trigger click events on such a button using an 
actual mouse, since it can't be hit-targeted.


More information about the whatwg mailing list