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



raster image of struct-use-13-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 'use' elements are synchronized at run time with the elements they reference.

This test verifies visual synchronization during run time between 'use' instances and the elements they reference. A 'g' element containing two 'rect' elements is referenced via 'use'. One 'rect' is red and the other has no fill specified. DOM synchronization is verified visually by removing the red 'rect'. Presentation attribute synchronization is verified visually by setting the other rect's 'fill' attribute to 'lime'. The 'g' that is referenced is inside of a 'defs' tag so only the 'use' instance is visible.