Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: LayoutTests/editing/selection/extend-inside-transforms-backward.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> p { margin: 0px; } </style> 4 <style> p { margin: 0px; } </style>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div style="font-family: monospace; monospace; -webkit-transform: rotate(-45deg) ; width: 200px; height: 200px; -webkit-transform-origin: top right;font-size:50p x;"> 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> 8 <p>hello</p>
9 <p>world</p> 9 <p>world</p>
10 </div> 10 </div>
11 <script> 11 <script>
12 12
13 // This test ensures WebKit can extend selection vertically inside transform. 13 // This test ensures WebKit can extend selection vertically inside transform.
14 14
15 window.getSelection().collapse(document.getElementsByTagName('p')[1].firstChild, 3); 15 window.getSelection().collapse(document.getElementsByTagName('p')[1].firstChild, 3);
16 window.getSelection().modify('extend', 'backward', 'line'); 16 window.getSelection().modify('extend', 'backward', 'line');
17 17
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698