float-new-in-block.html 471 B

123456789101112
  1. <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
  2. <script>
  3. function repaintTest()
  4. {
  5. document.getElementById("target").style.removeProperty("display");
  6. }
  7. </script>
  8. <body onload="runRepaintAndPixelTest()">
  9. <div style="height: 20px; background-color: lightblue;">
  10. <div id="target" style="display: none; float: left; width: 100px; height: 100px; background-color: green;"></div>
  11. </div>
  12. </body>