May 19, 2008
Disabled form element and dispatchEvent bug in Opera
I’ve stumbled across a bug in Opera 9.27 (which I dutifully reported). Basically, if you disable a form element and use the DOM2 dispatchEvent method on the element to simulate a click, the element fires the event. Since the element is disabled, it should not fire any click event handlers – this is the behavior in Firefox and Safari. Here’s the html I used to prove it: