<!DOCTYPE html>

<html>
<head>
  <style type="text/css" media="screen">
    html {
      background-color: red;
    }
    html.changed {
      position: absolute;
      top: 100px;
      left: 100px;
      background-color: green;
    }
  </style>
  <script src="resources/repaint.js" type="text/javascript"></script>
  <script type="text/javascript">
      function repaintTest()
      {
          document.documentElement.className = 'changed';
      }
  </script>
</head>
<body onload="runRepaintTest()">
  <p>Tests that the entire viewport is painted with a floated html element.</p>
</body>
</html>
