| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="resources/default.css"> | 4 <link rel="stylesheet" href="resources/default.css"> |
| 5 <style> | 5 <style> |
| 6 #outer { | 6 #outer { |
| 7 position: relative; | 7 position: relative; |
| 8 overflow: hidden; | 8 overflow: hidden; |
| 9 height: 200px; | 9 height: 200px; |
| 10 } | 10 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 <script src="resources/text-based-repaint.js"></script> | 33 <script src="resources/text-based-repaint.js"></script> |
| 34 <script> | 34 <script> |
| 35 function repaintTest() | 35 function repaintTest() |
| 36 { | 36 { |
| 37 window.location.hash = "#ucp"; | 37 window.location.hash = "#ucp"; |
| 38 } | 38 } |
| 39 | 39 |
| 40 function runTest() | 40 function runTest() |
| 41 { | 41 { |
| 42 document.getElementById("outer").scrollTop = 1000; | 42 document.getElementById("outer").scrollTop = 1000; |
| 43 runRepaintTest(); | 43 runRepaintAndPixelTest(); |
| 44 } | 44 } |
| 45 </script> | 45 </script> |
| 46 </head> | 46 </head> |
| 47 <body onload="runTest()"> | 47 <body onload="runTest()"> |
| 48 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element
being scrolled off page using javascript. --> | 48 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element
being scrolled off page using javascript. --> |
| 49 <!-- For the test to pass you should not see any RED, only green --> | 49 <!-- For the test to pass you should not see any RED, only green --> |
| 50 <div id="outer"> | 50 <div id="outer"> |
| 51 <section> | 51 <section> |
| 52 <div class="innerWrapper"> | 52 <div class="innerWrapper"> |
| 53 <div class="red"></div> | 53 <div class="red"></div> |
| 54 <div id="ucp" class="green"></div> | 54 <div id="ucp" class="green"></div> |
| 55 </div> | 55 </div> |
| 56 </section> | 56 </section> |
| 57 </div> | 57 </div> |
| 58 </body> | 58 </body> |
| 59 </html> | 59 </html> |
| OLD | NEW |