Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / dom / animated-reference-in-shadow-tree.html
1 <!DOCTYPE html>
2 <svg style="display:none;">
3     <rect id="rectReference" width="10" height="10" fill="red" />
4 </svg>
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"/>
9         </rect>
10    </svg>
11 </template>
12 <script>
13     document.body.createShadowRoot().appendChild(template.content.cloneNode(true));
14     if (window.testRunner) {
15         testRunner.waitUntilDone();
16         window.requestAnimationFrame(function() {
17             testRunner.notifyDone();
18        });
19     }
20 </script>