Specification link: 9.2 The 'rect' element

shapes-rect-05-f ← index → shapes-rect-07-f

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

# shapes-rect-06-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

Test passes if there is no red visible on the page.

## Test Description

When 'rect' attributes 'rx' and 'ry' have a value greater than half of the width/height of the rectangle, they are treated as half the width/height of the rectangle.

The test creates one 'rect' element with 'rx' greater than 1/2 the 'rect' width. Underneath that element, it creates a red 'rect' element with 'rx' set to 1/2 the width. Repeats with 'ry' attribute.

shapes-rect-05-f ← index → shapes-rect-07-f