udom-event-203-t

SVG Image

PNG Image

FAIL

This tests the stopPropagation method of the
Event interface.

The test consists of a single rectangle, which has event listeners
registered on it and some of its ancestor nodes. Clicking on the
rectangle will dispatch the click event. The listener on
the parent node of the rect calls stopPropagation().
The test checks that the listener for the grandparent node is not
dispatched.

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