Specification link: 6.11 The class attribute

struct-use-15-f ← index → styling-css-01-b

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

# styling-class-01-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

Test passes if there are two blue rectangles on the page, and the lower right one has an orange border.

## Test Description

The 'class' attribute assigns one or more class names to an element, and shared class names among several element instances are supported.

Assigns a class to two elements and specify a 'fill: blue' style rule on the class. On one of the elements, also specify a second class with a specified 'stroke: orange' style rule. Verify the 'fill' and 'stroke' styles applied appropriately.

struct-use-15-f ← index → styling-css-01-b