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

Side by Side Diff: LayoutTests/fast/transforms/transformed-caret.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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Caret with transform</title> 7 <title>Caret with transform</title>
8 <style type="text/css" media="screen"> 8 <style type="text/css" media="screen">
9 #box { 9 #box {
10 height: 200px; 10 height: 200px;
11 width: 300px; 11 width: 300px;
12 margin: 80px; 12 margin: 80px;
13 border: 1px solid black; 13 border: 1px solid black;
14 font-size: 60pt; 14 font-size: 60pt;
15 -webkit-transform: rotate(30deg); 15 transform: rotate(30deg);
16 } 16 }
17 </style> 17 </style>
18 <script type="text/javascript" charset="utf-8"> 18 <script type="text/javascript" charset="utf-8">
19 function focusBox() 19 function focusBox()
20 { 20 {
21 var box = document.getElementById('box'); 21 var box = document.getElementById('box');
22 // box.focus(); 22 // box.focus();
23 window.getSelection().collapse(box, box.childNodes.length); 23 window.getSelection().collapse(box, box.childNodes.length);
24 } 24 }
25 </script> 25 </script>
26 </head> 26 </head>
27 <body onload="focusBox()"> 27 <body onload="focusBox()">
28 28
29 <p>The caret should render correctly in transformed elements<br> 29 <p>The caret should render correctly in transformed elements<br>
30 <a href="https://bugs.webkit.org/show_bug.cgi?id=15671">https://bugs.webkit.or g/show_bug.cgi?id=15671</a></p> 30 <a href="https://bugs.webkit.org/show_bug.cgi?id=15671">https://bugs.webkit.or g/show_bug.cgi?id=15671</a></p>
31 <div id="box" contenteditable> 31 <div id="box" contenteditable>
32 Caret 32 Caret
33 </div> 33 </div>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/transforms/transform-table-row.html ('k') | LayoutTests/fast/transforms/transformed-focused-text-input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698