Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / layer-visibility.html
blobb72198184da5655374d1d94bd236f17f2b290bbd
1 <html>
2 <head>
3 <script src="resources/text-based-repaint.js"></script>
4 <script>
5 function test()
7 document.body.offsetTop;
8 var target = document.getElementById("target");
9 target.style.visibility = "visible";
10 document.body.offsetTop;
12 runRepaintTest();
15 function repaintTest()
17 var target = document.getElementById("target");
18 target.style.left = "0";
19 target.style.backgroundColor = "green";
21 </script>
22 </head>
23 <body onload="test()">
24 <div id="target" style="position: absolute; top: 0; left: 100px; width: 100px; height: 100px; background-color: red; visibility: hidden;"></div>
25 </body>
26 </html>