udom-event-208-t

raster image of udom-event-208-t

This tests the detail attribute of the UIEvent interface and the dispatch order of mouse events when clicking.

To perform the test, the user must triple click on the circle. The nine rectangles to the right of the circle indicate whether the detail attribute of the UIEvent object was correct for the mousedown, click and mouseup events. The first row of rectangles checks the three events when detail = 1, the second row for detail = 2 and the third row for detail = 3.

In addition, the circle should remain black after the nine rectangles have become blue. If the circle becomes red, it indicates that the test failed because the mousedown, click and mouseup events were fired in an incorrect order.

The test has been passed if, after triple clicking the circle, all nine rectangles are blue and the circle remains black.