Test Suite for Events in Tag Attributes

The purpose of this page is to identify the events which are bound to a HTML tag using the event attributes (like onClick, onMouseOver, etc.).

Usage

In the Testing section events bound to a tag call a log function when they are triggered. The logged events for each tag can be shown with the button.
For more functionality, please see the following descriptions.

How It Works in Detail

In the Testing section below, all known tags are listed. Each tag contains a text . All known JavaScript events are bound to that tag as tag attribute. If the event is triggered, the corresponding checkbox will be ticked.
Some tags need to be tested in a specific context. Such a tag contains a link to be clicked, the onClick attribute is not set.
The content of the called link uses the tag in its intented context.
As some events are interactive, they must be triggered manually by:
  1. move the mouse over the text
  2. click the mouse's select button on the text
  3. click the mouse's context button on the text
  4. double click the mouse's select button on the text
  5. click the mouse's select button on the text and move while button clicked
  6. press a key after selcting text
  7. try to paste something on the text
  8. use the mouse wheel on the text
Finally click the button at end of the Testing section to get the triggerd events for the tags in the Results section.

GUI

All checkboxes for the events in the tags are invisible by default.
Clicking the appropriate checkbox in the Selection: Events section shows this event checkbox for each tag. Unchecking the checkbox hides the tag's event checkbox.

Config

Moving the mouse over the Config section pops up a inset window with some configuration settings which are used for the result.

Event Errors

The Event Errors section shows all tag events which threw an exception when triggered with the button.

GUI Buttons

Buttons at the end of the Testing area: Some of these action may take 5-20 seconds, depending on the browser.
The tabs (like "HTML 4" or "Keys") are just used to highlight all events of this category. These tabs provide no other functionality.

Note

Closing Tags

For events in closing tags see tags-close.html (Warning: ~4.7MB)

Not (yet) automatically testable

Some tag attributes if used invoke an event too, for example: checked, selected or autofocus
A working test case for these events is currently missing.

CGI

This tool can be used to collect browser events automatically.
If is checked in Config section then each event will be send to the server specified in using the URL specified in . This request will use the string set in as value for the "User-Agent" HTTP header.

Debugging / Internals



Selection: Events

Selection: Tags



Testing


Result



Event Errors