interact-dom-02-t

raster image of interact-dom-02-t

Verify basic support for DOM event listener registration. The root svg element has an onload handler where a click event listener is registered on group element 'Start Button'.

If UI events listener registration is supported (and UI events), when the user clicks on the button a text node is inserted reading "Event Listeners supported".

At the end of the test, the start test button in changed to pink, and the click event listener is removed from the the start button.

Subsequent clicks on the start button should cause no effect if the event listener has been removed successfully. If additional lines of text appear in the document that say "Event Listeners supported", then the implementation has not successfully removed the event listener.

After clicking at least once on the button, the rendered image should be exactly as the reference image, except for differences in text display.

This test requires that the user agent support scripting.