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



raster image of struct-use-15-f.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test is passed if there is a green square visible on the page, and no red.

Test Description

Test that recursive 'use' elements are synchronized at run time with the originally referenced element.

Inside of a 'defs' element, a 'g' element containing two 'rect' elements is referenced via 'use'. Outside of the 'defs', a 'use' element references the other 'use' element. One 'rect' is orange and the other has no fill specified. DOM synchronization is verified visually by removing the orange 'rect'. Presentation attribute synchronization is verified visually by setting the other rect's 'fill' attribute to 'blue'. All elements are inside of a 'defs' element except for the recursive 'use' element to ensure that it is the only element rendered. Verify that blue is visible and orange is not visible.