Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / rtl / rtl-overflow-invalidation.html
blob5c9bbb874bbeac6db2b2035024c65d21d16fd99b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <style>
6 body {
7 direction: rtl;
8 margin: 0px;
11 #layer {
12 position: absolute;
13 top: 50px;
14 right: 50px;
15 width: 100px;
16 height: 100px;
17 background-color: red;
20 #root {
21 width: 1000px;
22 height: 1000px;
23 transform:translateZ(0);
25 </style>
26 <script>
27 function doTest() {
28 if (window.testRunner) {
29 testRunner.waitUntilDone();
30 testRunner.dumpAsTextWithPixelResults();
32 runAfterLayoutAndPaint(function() {
33 // This test passes if this element is repainted correctly, even
34 // on a page that is composited and has horizontal overflow.
35 var elem = document.getElementById("layer");
36 elem.style.backgroundColor = "green";
37 if (window.testRunner)
38 testRunner.notifyDone();
39 });
41 window.addEventListener('load', doTest, false);
42 </script>
43 <body>
44 <div id="layer" class=""></div>
45 <div id="root"></div>
46 </body>
47 </html>