A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3.org/Graphics/SVG/Test/20110816/harness/htmlEmbed/interact-dom-01-b.html below:

SVG 1.1 2nd Edition Test (<embed>): interact-dom-01-b.svg

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

interact-dom-01-b.svg SVG Image PNG Image Operator Script

This test requires user interaction. Run the test, then click on the grey rectangle. If it turns green, click it again.

Pass Criteria

After clicking once on the button, the rectangle should have a green fill and the text "Event listeners supported" should appear, once.

Test Description

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 is changed to green, 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.

interact-cursor-01-f ← index → interact-events-01-b


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3