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

Side by Side Diff: LayoutTests/transforms/2d/cssmatrix-2d-zoom.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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 body { 4 body {
5 zoom: 1.2; 5 zoom: 1.2;
6 padding: 0; 6 padding: 0;
7 margin: 0; 7 margin: 0;
8 } 8 }
9 9
10 .box { 10 .box {
11 width: 100px; 11 width: 100px;
12 height: 100px; 12 height: 100px;
13 background-color: blue; 13 background-color: blue;
14 position: absolute; 14 position: absolute;
15 top: 60px; 15 top: 60px;
16 left: 40px; 16 left: 40px;
17 } 17 }
18 18
19 .translate { 19 .translate {
20 -webkit-transform: translate(100px, 50px); 20 transform: translate(100px, 50px);
21 background-color: red; 21 background-color: red;
22 } 22 }
23 23
24 .matrix { 24 .matrix {
25 background-color: green; 25 background-color: green;
26 } 26 }
27 </style> 27 </style>
28 <script type="text/javascript"> 28 <script type="text/javascript">
29 29
30 function runTest() { 30 function runTest() {
(...skipping 26 matching lines...) Expand all
57 <!-- You should see green box only. If you see red, the test has failed --> 57 <!-- You should see green box only. If you see red, the test has failed -->
58 58
59 <div id='a' class="box translate"></div> 59 <div id='a' class="box translate"></div>
60 <div id='b' class="box matrix"></div> 60 <div id='b' class="box matrix"></div>
61 61
62 <script> 62 <script>
63 document.getElementById('b').style.webkitTransform = new WebKitCSSMatrix('ma trix(1, 0, 0, 1, 100, 50)'); 63 document.getElementById('b').style.webkitTransform = new WebKitCSSMatrix('ma trix(1, 0, 0, 1, 100, 50)');
64 </script> 64 </script>
65 </body> 65 </body>
66 </html> 66 </html>
OLDNEW
« no previous file with comments | « LayoutTests/transforms/2d/computed-style-origin.html ('k') | LayoutTests/transforms/2d/hindi-rotated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698