1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg xmlns=
"http://www.w3.org/2000/svg" width=
"100" height=
"100" viewBox=
"0 0 100 100" onload=
"runTest()">
4 <script type=
"text/ecmascript"><![CDATA[
6 var element = document.getElementById('test');
7 element.setAttribute(
"transform",
"rotate(45) scale(1,2,3)");
10 <!-- The current behavior is to ignore invalid transforms (and any transforms after).
11 We might choose to enter an "error state" on an invlalid transform in the future. -->
12 <rect width=
"100" height=
"100" fill=
"red"/>
13 <rect id=
"test" width=
"50" height=
"50" transform=
"scale(2,2) scale(1,2,3) translate(50,50)" fill=
"green"/>