| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script> | 2 <script> |
| 3 if (window.testRunner) { | 3 if (window.testRunner) { |
| 4 window.enablePixelTesting = true; | 4 window.enablePixelTesting = true; |
| 5 window.testRunner.waitUntilDone(); | 5 window.testRunner.waitUntilDone(); |
| 6 } | 6 } |
| 7 function repaintTest() { | 7 function repaintTest() { |
| 8 window.scrollBy(0,200); | 8 window.scrollBy(0,200); |
| 9 document.getElementById("scrollpanel").style.position = "fixed"; | 9 document.getElementById("scrollpanel").style.position = "fixed"; |
| 10 } | 10 } |
| 11 </script> | 11 </script> |
| 12 <script type="text/javascript" src="../repaint/resources/text-based-repaint.js">
</script> | 12 <script type="text/javascript" src="../repaint/resources/repaint.js"></script> |
| 13 <script type="text/javascript" src="../../resources/run-after-layout-and-paint.j
s"></script> | 13 <script type="text/javascript" src="../../resources/run-after-layout-and-paint.j
s"></script> |
| 14 <style> | 14 <style> |
| 15 .left { | 15 .left { |
| 16 float: left; | 16 float: left; |
| 17 min-height: 1843px; | 17 min-height: 1843px; |
| 18 } | 18 } |
| 19 | 19 |
| 20 .right { | 20 .right { |
| 21 float: right; | 21 float: right; |
| 22 width: 100px; | 22 width: 100px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 42 <div id="scrollpanel"> | 42 <div id="scrollpanel"> |
| 43 <div class="container"> | 43 <div class="container"> |
| 44 <div id="ul"> | 44 <div id="ul"> |
| 45 <div style="background-color: red; width: 100px; height:100p
x;"></div> | 45 <div style="background-color: red; width: 100px; height:100p
x;"></div> |
| 46 </div> | 46 </div> |
| 47 </div> | 47 </div> |
| 48 | 48 |
| 49 </div> | 49 </div> |
| 50 </div> | 50 </div> |
| 51 </body> | 51 </body> |
| OLD | NEW |