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



raster image of interact-pevents-10-f.svg

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'.