[Webkit-unassigned] [Bug 17083] REGRESSION (r24267): nested click() calls on the same element do not work (affects Acid3 test 73)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 9 22:25:24 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17083





------- Comment #12 from koivisto at iki.fi  2008-03-09 22:25 PDT -------
On Safari and Firefox

<input id=button type="checkbox"
onclick="document.getElementById('console').innerHTML = ++counter;
this.click()">
<div id=console></div>
<script>
window.counter = 0;
document.getElementById('button').click();
</script>

prints "1". Clicking on the button increases the value by 2. IE6 prints "1" and
user clicks increase the value by 1. It seems like IE is preventing click
recursion completely while Safari and Firefox allow it from user event only.

Acid3 is asking either some 10 upper bound for breaking the recursion or
relying on slow script warning. Latter turns simple mistakes into
catastrophical user visible errors while former is rather arbitrary. 


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list