Page - AddHandler - TestCases #11 - Cross Browers Event Stacking |
|
$Id: test_11_page_addhandler.html,v 1.5 2005/10/23 07:57:32 james Exp $
The initial state is three bubbling events, one for each level and on the bottom level, 'C' 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 A, which will in tuen remove itself and add an event to C.
So a single click on C should trigger 6 different events, two of which are added during event handlers. The previous event is removed from the current element, so the click should be repeatable and its order should be C,c1_onclick1,B,b1_onclick1,A,a1_onclick1
[A] [B] [C] .