Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / repaint / positioned-document-element.html
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5   <style type="text/css" media="screen">
6     html {
7       background-color: red;
8     }
9     html.changed {
10       position: absolute;
11       top: 100px;
12       left: 100px;
13       background-color: green;
14     }
15   </style>
16   <script src="resources/repaint.js" type="text/javascript"></script>
17   <script type="text/javascript">
18       function repaintTest()
19       {
20           document.documentElement.className = 'changed';
21       }
22   </script>
23 </head>
24 <body onload="runRepaintTest()">
25   <p>Tests that the entire viewport is painted with a floated html element.</p>
26 </body>
27 </html>