Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / text / select-text-inside-non-static-position.html
blob2133d89a74026a953f0d2ca172718bdc8a6d44e4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 * {
6 position: absolute;
7 transform: scaleX(2);
9 </style>
10 </head>
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>
13 <svg style="width: 50px; height: 50px; border: 1px solid black;">
14 <text>svg text</text>
15 </svg>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
20 document.execCommand("SelectAll");
22 document.querySelector('style').remove();
23 document.write('PASS');
24 </script>
25 </body>
26 </html>