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


raster image of styling-class-01-f.svg

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.