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

Side by Side Diff: LayoutTests/compositing/rtl/rtl-overflow-scrolling.html

Issue 14858004: Clean up the way layout tests force elements to opt in/out of composited scrolling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript"> 3 <script type="text/javascript">
4 if (window.internals) 4 if (window.internals)
5 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnab led(true); 5 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnab ledMode(window.internals.settings.AcceleratedCompositingForOverflowScrollEnabled );
6 6
7 function runTest() { 7 function runTest() {
8 document.getElementById("container").scrollLeft = 0; 8 document.getElementById("container").scrollLeft = 0;
9 } 9 }
10 </script> 10 </script>
11 <style> 11 <style>
12 #container { 12 #container {
13 direction: rtl; 13 direction: rtl;
14 overflow: scroll; 14 overflow: scroll;
15 width: 300px; 15 width: 300px;
16 height: 300px; 16 height: 300px;
17 } 17 }
18 #overflow { 18 #overflow {
19 width: 1000px; 19 width: 1000px;
20 height: 1000px; 20 height: 1000px;
21 background-color: green; 21 background-color: green;
22 } 22 }
23 </style> 23 </style>
24 </head> 24 </head>
25 <body onload="runTest();"> 25 <body onload="runTest();">
26 <div id="container"> 26 <div id="container">
27 <div id="overflow"> 27 <div id="overflow">
28 </div> 28 </div>
29 </div> 29 </div>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698