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

Side by Side Diff: LayoutTests/compositing/overflow/rtl-overflow.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 <title>Composited overflow scrolling for RTL</title> 4 <title>Composited overflow scrolling for RTL</title>
5 <style> 5 <style>
6 .container { 6 .container {
7 width: 400px; 7 width: 400px;
8 height: 150px; 8 height: 150px;
9 overflow: scroll; 9 overflow: scroll;
10 direction: rtl; 10 direction: rtl;
(...skipping 17 matching lines...) Expand all
28 .left { 28 .left {
29 width: 100px; 29 width: 100px;
30 height: 100px; 30 height: 100px;
31 position: absolute; 31 position: absolute;
32 left: 0; 32 left: 0;
33 background-color: blue; 33 background-color: blue;
34 } 34 }
35 </style> 35 </style>
36 </head> 36 </head>
37 <body> 37 <body>
38 <div style="-webkit-transform:translateZ(0);"> 38 <div style="transform:translateZ(0);">
39 This test succeeds if the two blocks correctly show content scrolled to the rightmost and leftmost respectively. 39 This test succeeds if the two blocks correctly show content scrolled to the rightmost and leftmost respectively.
40 </div> 40 </div>
41 <div class="container"> 41 <div class="container">
42 <div class="overflow"> 42 <div class="overflow">
43 <div class="left"></div> 43 <div class="left"></div>
44 <div class="right"></div> 44 <div class="right"></div>
45 </div> 45 </div>
46 </div> 46 </div>
47 <div class="container" id="second"> 47 <div class="container" id="second">
48 <div class="overflow"> 48 <div class="overflow">
49 <div class="left"></div> 49 <div class="left"></div>
50 <div class="right"></div> 50 <div class="right"></div>
51 </div> 51 </div>
52 </div> 52 </div>
53 <script> 53 <script>
54 document.getElementById('second').scrollLeft = 0; 54 document.getElementById('second').scrollLeft = 0;
55 </script> 55 </script>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698