OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <!-- Test for https://code.google.com/p/chromium/issues/detail?id=266542 --> | 3 <!-- Test for https://code.google.com/p/chromium/issues/detail?id=266542 --> |
4 <body> | 4 <body> |
5 PASS: did not crash. | 5 PASS: did not crash. |
6 <script> | 6 <script> |
7 var img = new Image(); | 7 var img = new Image(); |
8 img.src = 'data:image/svg+xml;charset=utf-8,' + | 8 img.src = 'data:image/svg+xml;charset=utf-8,' + |
9 '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + | 9 '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + |
10 '<foreignObject width="100%" height="100%">' + | 10 '<foreignObject width="100%" height="100%">' + |
11 '<div xmlns="http://www.w3.org/1999/xhtml" style="-webkit-transf orm: matrix3d(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -770, -270, 0, 1);">Transform Me</div>' + | 11 '<div xmlns="http://www.w3.org/1999/xhtml" style="transform: mat rix3d(1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -770, -270, 0, 1);">Transform Me</div >' + |
12 '</foreignObject>' + | 12 '</foreignObject>' + |
13 '</svg>'; | 13 '</svg>'; |
14 | 14 |
15 if (window.testRunner) | 15 if (window.testRunner) |
16 testRunner.dumpAsText(); | 16 testRunner.dumpAsText(); |
17 </script> | 17 </script> |
18 </body> | 18 </body> |
19 </html> | 19 </html> |
OLD | NEW |