Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / SVGMatrix-interface.svg
blob36e6a677b484afdf123009538368bf322c435e6b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg">
3 <text x="50" y="50">Expected: matrix(1, 0, 0, 1, 0, 0)</text>
4 <text id="log" x="50" y="80">Actual: TEST FAILED!</text>
6 <script>
7 function printMatrix (m) {
8 return 'matrix(' + [m.a, m.b, m.c, m.d, m.e, m.f].join(', ') + ')';
11 var matrix = document.documentElement.createSVGMatrix();
12 matrix.translate(100, 100);
14 document.getElementById("log").firstChild.data = 'Actual: ' + printMatrix(matrix);
15 </script>
16 </svg>