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

struct-group-01-t.svg

raster image of struct-group-01-t.svg

Operator Script

The test uses the 'rect' element, as well as basic fill (solid primary colors), stroke (black 1-pixel lines), font-family and font-size properties.

The two blue rectangles and the yellow are in the g labeled rects. The blue rectangles inherit a fill color the green rect has a fill specified and it should not be overwritten. The two yellow rectangles should inherit the fill color and the transform attribute, they should be yellow and rotated at -20 degrees. These two rectangles are in g "yellowNrotate", that g is nested inside g "gratuitiousG". The black rectangle in the upper right, has no attributes inherited from its parent. The focus is nesting of g elements and passing on of attributes.

Pass Criteria

The rendered picture should match the reference image, except for possible variations in the labelling text (per CSS2 rules).

Test Description

The test checks to see that graphics elements (g) can be nested and that the like attributes can be passed to the children. All the g elements for this test are in the g element whose id=allGs.