| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../repaint/resources/text-based-repaint.js"></script> | 2 <script src="../repaint/resources/text-based-repaint.js"></script> |
| 3 <script> | 3 <script> |
| 4 function repaintTest() | 4 function repaintTest() |
| 5 { | 5 { |
| 6 document.getElementById('inner2').style.display = 'block'; | 6 document.getElementById('inner2').style.display = 'block'; |
| 7 } | 7 } |
| 8 </script> | 8 </script> |
| 9 <body style="margin: 100px" onload="runRepaintTest()"> | 9 <body style="margin: 100px" onload="runRepaintAndPixelTest()"> |
| 10 <div id="outer" style="box-shadow: 40px -40px #F00;"> | 10 <div id="outer" style="box-shadow: 40px -40px #F00;"> |
| 11 <div id="inner1" style="height: 100px; background-color: blue"></div> | 11 <div id="inner1" style="height: 100px; background-color: blue"></div> |
| 12 <div id="inner2" style="display: none; height: 100px; background-color:
green"></div> | 12 <div id="inner2" style="display: none; height: 100px; background-color:
green"></div> |
| 13 </div> | 13 </div> |
| 14 </body> | 14 </body> |
| OLD | NEW |