summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/rtl/rtl-overflow-scrolling.html
blob: 00991902bddc8a949351701d9ece9852f87e7819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
<head>
<script type="text/javascript">
    if (window.internals)
        window.internals.settings.setPreferCompositingToLCDTextEnabled(true);

    function runTest() {
        document.getElementById("container").scrollLeft = 0;
    }
</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>