| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/text-based-repaint.js"></script> | 4 <script src="resources/text-based-repaint.js"></script> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 | 8 |
| 9 function repaintTest() | 9 function repaintTest() |
| 10 { | 10 { |
| 11 document.getElementById('ref').style.display = 'block'; | 11 document.getElementById('ref').style.display = 'block'; |
| 12 if (window.testRunner) | 12 if (window.testRunner) |
| 13 testRunner.notifyDone(); | 13 testRunner.notifyDone(); |
| 14 } | 14 } |
| 15 onload = runRepaintTest; | 15 onload = runRepaintAndPixelTest; |
| 16 </script> | 16 </script> |
| 17 </head> | 17 </head> |
| 18 <style> | 18 <style> |
| 19 #ref { | 19 #ref { |
| 20 display: none; | 20 display: none; |
| 21 min-width: 20em; | 21 min-width: 20em; |
| 22 height: 10em; | 22 height: 10em; |
| 23 position: absolute; | 23 position: absolute; |
| 24 bottom: 5px; | 24 bottom: 5px; |
| 25 border: 1px solid; | 25 border: 1px solid; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 <a href="http://crbug.com/370945">crbug.com/370945</a> | 39 <a href="http://crbug.com/370945">crbug.com/370945</a> |
| 40 </p> | 40 </p> |
| 41 <p>You should see a green rectangle without any missing pieces if this test pass
ed. </p> | 41 <p>You should see a green rectangle without any missing pieces if this test pass
ed. </p> |
| 42 | 42 |
| 43 <p class='spaced'> | 43 <p class='spaced'> |
| 44 <span class='wrapper'> | 44 <span class='wrapper'> |
| 45 <span id="ref"></span> | 45 <span id="ref"></span> |
| 46 </span> | 46 </span> |
| 47 </p> | 47 </p> |
| 48 | 48 |
| OLD | NEW |