OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 * { | 5 * { |
6 position: absolute; | 6 position: absolute; |
7 -webkit-transform: scaleX(2); | 7 transform: scaleX(2); |
8 } | 8 } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
11 <body> | 11 <body> |
12 <p id="description">This tests selecting text inside a non-statically positioned
SVG content. This test passes if it does not crash.</p> | 12 <p id="description">This tests selecting text inside a non-statically positioned
SVG content. This test passes if it does not crash.</p> |
13 <svg style="width: 50px; height: 50px; border: 1px solid black;"> | 13 <svg style="width: 50px; height: 50px; border: 1px solid black;"> |
14 <text>svg text</text> | 14 <text>svg text</text> |
15 </svg> | 15 </svg> |
16 <script> | 16 <script> |
17 if (window.testRunner) | 17 if (window.testRunner) |
18 testRunner.dumpAsText(); | 18 testRunner.dumpAsText(); |
19 | 19 |
20 document.execCommand("SelectAll"); | 20 document.execCommand("SelectAll"); |
21 | 21 |
22 document.querySelector('style').remove(); | 22 document.querySelector('style').remove(); |
23 document.write('PASS'); | 23 document.write('PASS'); |
24 </script> | 24 </script> |
25 </body> | 25 </body> |
26 </html> | 26 </html> |
27 | 27 |
OLD | NEW |