[whatwg] Preventing nested click() calls

Anne van Kesteren annevk at opera.com
Mon Mar 10 11:54:48 PDT 2008


On Mon, 10 Mar 2008 19:49:21 +0100, Antti Koivisto <antti at apple.com> wrote:
> WebKit, Firefox and IE all implement a protection mechanism against re- 
> entering click() on the same element:
>
> <input type="checkbox" onclick="this.click()">

Opera had the same restriction. We now limit it at 50 or so... I think  
we're fine either way though.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list