summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/geometry/rtl-composited.html
blob: 6891d1ce3742ceeef4c692f26b3c1226cfc3df09 (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
32
<!DOCTYPE>
<html>
<head>
  <title>RTL page with composited elements</title>

<style type="text/css" media="screen">
body {
  direction: rtl;
}
#wrapper {
  position: relative;
  background: green;
  width: 200px;
  height: 200px;
  z-index: 5;
}
.accelerated {
  transform: translate3d(0,0,0);
}
</style>
<script type="text/javascript" charset="utf-8">
    if (window.testRunner)
        testRunner.dumpAsTextWithPixelResults();
</script>
</head>
<body>
<body>
<!-- There should be a green box at the top right corner of the window -->
    <div id="wrapper"></div>
    <div class="accelerated"></div>
</body>
</html>