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

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.

-Boris

Received on Sunday, 25 September 2011 19:39:50 UTC