| <!-- webkit-test-runner [ useThreadedScrolling=false ] --> |
| <html> |
| <head> |
| <script type="text/javascript"> |
| if (window.internals) |
| window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); |
| |
| function runTest() { |
| document.getElementById("container").scrollLeft = -715; |
| } |
| </script> |
| <style> |
| #container { |
| direction: rtl; |
| overflow: scroll; |
| width: 300px; |
| height: 300px; |
| } |
| #overflow { |
| width: 1000px; |
| height: 1000px; |
| background-color: green; |
| } |
| </style> |
| </head> |
| <body onload="runTest();"> |
| <div id="container"> |
| <div id="overflow"> |
| </div> |
| </div> |
| </body> |
| </html> |