Specification link: 9.2 The 'rect' element

shapes-rect-03-t ← index → shapes-rect-05-f

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

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

## Operator Script

Run the test. No interaction required.

## Pass Criteria

Test passes if the two shapes on top are rounded rectangles, the shape below has square corners, and no red is visible on the page.

## Test Description

'Rect' elements with unspecified 'rx' and 'ry' attributes will use the specified 'rx' and 'ry' value if the other one is specified; if neither is specified, the 'rect' has square edges.

Creates one 'rect' element with an unspecified 'ry'. Places it over a red 'rect' element with both 'rx' and 'ry' specified. Repeat with unspecified 'rx'. Finally creates a 'rect' element that has neither 'rx' or 'ry' specified.

shapes-rect-03-t ← index → shapes-rect-05-f