2 <svg style="display:none;">
3 <rect id="rectReference" width="10" height="10" fill="red" />
5 <template id="template">
6 <svg width="200" height="200">
7 <rect id="rectReference" width="100" height="1" fill="green">
8 <set xlink:href="#rectReference" attributeName="height" to="100"/>
13 document.body.createShadowRoot().appendChild(template.content.cloneNode(true));
14 if (window.testRunner) {
15 testRunner.waitUntilDone();
16 window.requestAnimationFrame(function() {
17 testRunner.notifyDone();