Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / rtl / rtl-absolute-overflow-scrolled.html
blob561201d31563261573dc8bdd4ca951be3cd7c08a
1 <html>
2 <head>
3 <style>
4 body {
5 direction: rtl;
6 margin: 0px;
7 background-color: red;
10 .positioned {
11 position: absolute;
12 top: 50px;
13 left: 50px;
14 width: 100px;
15 height: 100px;
18 #indicator {
19 background-color: red;
22 #layer {
23 transform:translateZ(0);
24 background-color: green;
27 #root {
28 width: 1000px;
29 height: 1000px;
30 background-color: white;
33 #layertree {
34 position: absolute;
35 top: 10000px;
36 left: 0px;
38 </style>
39 <script>
40 function doTest() {
41 if (window.testRunner) {
42 testRunner.waitUntilDone();
43 testRunner.dumpAsTextWithPixelResults();
46 // The far left coordinate of the document varies by window width.
47 var offset = document.body.clientWidth - document.scrollingElement.scrollWidth + 1;
48 document.getElementById('layer').style.left = offset + 50;
49 document.getElementById('indicator').style.left = offset + 50;
51 window.setTimeout(function() {
52 window.scrollTo(offset, 0);
53 if (window.testRunner) {
54 if (top == self)
55 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
56 testRunner.notifyDone();
58 }, 0);
60 window.addEventListener('load', doTest, false);
61 </script>
62 <body>
63 <div id="root"></div>
64 <div class="positioned" id="indicator"></div>
65 <div class="positioned" id="layer"></div>
67 <pre id="layertree"></pre>
68 </body>
69 </html>