Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / rtl / rtl-fixed.html
blob40e55eb5627e61ceedcb32c125116cd5c7aaddb7
1 <html>
2 <head>
3 <style>
4 body {
5 direction: rtl;
6 margin: 0px;
7 background-color: red;
10 .positioned {
11 position: fixed;
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: 100%;
29 height: 100%;
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 if (top == self)
43 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
44 testRunner.dumpAsTextWithPixelResults();
47 window.addEventListener('load', doTest, false);
48 </script>
49 <body>
50 <div id="root"></div>
51 <div class="positioned indicator"></div>
52 <div class="positioned layer"></div>
54 <pre id="layertree"></pre>
55 </body>
56 </html>