Specification link: 16.4 Pointer events

interact-pevents-09-f ← index → interact-pointer-01-t

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

# interact-pevents-10-f.svg
SVG Image | PNG Image

## Operator Script

Click on both black circles.

## Pass Criteria

Test passes if there is no red visible on the page after clicking the black circles.

## Test Description

An element with 'display' set to 'none' or an element whose parent has 'display' set to 'none' is not a target of pointer events.

Stack a 'circle' element with 'display' equal to 'none' on another 'circle' element. Specify an 'onclick' event handler on the 'circle' with 'display' set to 'none' that will change the 'visibility' of 'FAIL' text to 'visible'. Verify that the event handler does not fire which clicking on the top 'circle' element. Repeat with another set of 'circle' elements with the parent of one of the 'circle' elements having its 'display' set to 'none'.

interact-pevents-09-f ← index → interact-pointer-01-t