raster image of udom-event-209-t

This tests that the target, currentTarget, type and cancelable attributes of the Event interface work correctly. It is the same as udom-event-202-t except that the event listener is given by an ECMAScript object with a handleEvent property, rather than by an ECMAScript Function object.

The test consists of a single rectangle, which has event listeners registered on it and all of its ancestor nodes. Clicking on the rectangle will test that the attribute of the Event object all have expected values, for each invocation of an event listener. It also tests whether each of the event listeners is indeed invoked.

The test has been passed if the rectangle becomes blue when clicking it.