Test that the 'use' element's 'xlink:href' attribute referencing dynamically set 'id' attributes is supported.
The test defines a 'use' element with its 'xlink:href' attribute set to 'pass' which is an invalid element id. A green 'rect' element has its 'id' attribute set to 'pass' via 'setAttribute'. The referenced 'rect' is a child of a 'defs' element so that it does not render, and it is wrapped with a 'g' element in order to obtain a DOM reference to it.
Run the test. No interaction required.
The test is passed if there is a green square visible on the page, and no red.