Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / intersection-list-transforms.svg
blob2be85d3535fc81b4618bf81a65e3aade450f8017
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- getIntersectionList causes transforms to be recalculated in SVG
3 https://bugs.webkit.org/show_bug.cgi?id=77179 -->
4 <svg id="root" width="500" height="500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
5 <script>
6 function runTest() {
7 var root = document.documentElement;
8 root.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "text"));
9 root.getIntersectionList(root.createSVGRect(), null);
11 window.addEventListener('load', runTest, false);
12 </script>
13 <!-- This test passes if there is a green non-rotated square visible on the top-left corner of the page. -->
14 <g transform="translate(100, 100) rotate(135)">
15 <rect x="1" y="1" width="100" height="100" fill="green" transform="rotate(45)" />
16 </g>
17 </svg>