Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / extend-inside-transforms-backward.html
blob3844e6c5d8cc68ed03c73c9d8aad6a49458a90f7
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style> p { margin: 0px; } </style>
5 </head>
6 <body>
7 <div style="font-family: monospace; monospace; transform: rotate(-45deg); width: 200px; height: 200px; -webkit-transform-origin: top right;font-size:50px;">
8 <p>hello</p>
9 <p>world</p>
10 </div>
11 <script>
13 // This test ensures WebKit can extend selection vertically inside transform.
15 window.getSelection().collapse(document.getElementsByTagName('p')[1].firstChild, 3);
16 window.getSelection().modify('extend', 'backward', 'line');
18 </script>
19 </body>
20 </html>