Full version, Basic version

Specification link: 16.9 DOM interfaces

fonts-elem-07-b ← index → interact-events-01-b

# interact-dom-01-b
SVG Image | PNG Image

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.

fonts-elem-07-b ← index → interact-events-01-b

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.