udom-event-202-t

FAIL

raster image of udom-event-202-t

This tests that the target, currentTarget, type and cancelable attributes of the Event interface work correctly.

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.