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">
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);
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)" />