Page - AddHandler - TestCases #13 - Cross Browers Event Stacking

$Id: test_14_page_addhandler.html,v 1.5 2005/10/23 07:57:32 james Exp $

The initial state is three capture events, one for each level and on the top level, 'A' there is an event handler that will remove itself and add an event to B, That event will in turn remove itself and add an event to C, which will in turn remove itself and add an event to A.

We are capturing, and we are adding events in the the capture order so we should not get a chain reaction. The previous event is removed from the current element, so the click should be repeatable.

Clicking on C should obtain the following order of events A,a1_onclick,B,b1_onclick,C,c1_onclick

[A] [B] [C] .