Specification link: 16.4 Pointer events

interact-pevents-201-t ← index → interact-pointer-01-t

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

# interact-pevents-202-t.svg
SVG Image | PNG Image

## Operator Script

Slowly move the mouse over the rectangles in each row while checking the pass criteria.

## Pass Criteria

The test is passed if the following conditions are met: - In the first row of squares, the fill and stroke of squares 1, 3 and 4 only must trigger a pale red rectangle to appear over the squares on mouseover. - In the second row of squares, the fill only of all squares must trigger a pale red rectangle to appear over the squares on mouseover. - In the third row of squares, the stroke only of all must trigger a pale red rectangle to appear over the squares on mouseover. - In the fourth row of squares, the fill and stroke of all squares must trigger a pale red rectangle to appear over the squares on mouseover. - In the fifth row of squares, nothing is to trigger on mouseover.

## Test Description

Tests the pointer-events attribute with different painting values

The 2nd and 3rd columns represent respectively rects with no fill/stroke and transparent fill/stroke. The 4th column has visibility set to hidden.

The first row tests pointer-events="painted", i.e. event on fill and stroke that are set. The second row tests pointer-events="fill", i.e. event on a fill that is set. The third row tests pointer-events="stroke", i.e. even on a stroke that is et. The fourth row tests pointer-events="all", i.e. event on fill and stroke that are set. The fifth row tests pointer-events="none", i.e. no event.

interact-pevents-201-t ← index → interact-pointer-01-t