float-in-new-block-with-layout-delta.html 466 B

12345678910111213
  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: 100px;"></div>
  10. <div id="target" style="display: none">
  11. <div style="float: left; width: 100px; height: 100px; background-color: green;"></div>
  12. </div>
  13. </body>