button-spurious-layout-hint.html 428 B

123456789101112
  1. <head>
  2. <script src="resources/text-based-repaint.js" type="text/javascript"></script>
  3. <script>
  4. function repaintTest()
  5. {
  6. document.getElementById("target").style.backgroundColor = "lightpink";
  7. }
  8. </script>
  9. </head>
  10. <body onload="runRepaintAndPixelTest()">
  11. <button id="target" style="height: 100px; width: 100px; background-color: lightblue; border: none;">&nbsp;</button>
  12. </body>