set-text-content-same.html 322 B

12345678910
  1. <!DOCTYPE html>
  2. <body onload="runRepaintAndPixelTest();">
  3. <pre id="target">PASS if does not repaint.</pre>
  4. <script src="resources/text-based-repaint.js" type="text/javascript"></script>
  5. <script type="text/javascript">
  6. function repaintTest()
  7. {
  8. target.textContent = "PASS if does not repaint.";
  9. }
  10. </script>