OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 #container { | 3 #container { |
4 height: 4000px; | 4 height: 4000px; |
5 background-color: red; | 5 background-color: red; |
6 } | 6 } |
7 .noScroll { | 7 .noScroll { |
8 overflow-y: hidden; | 8 overflow-y: hidden; |
9 } | 9 } |
10 #overlay { | 10 #overlay { |
(...skipping 26 matching lines...) Expand all Loading... |
37 overlay.classList.toggle('hidden'); | 37 overlay.classList.toggle('hidden'); |
38 document.body.classList.toggle('noScroll'); | 38 document.body.classList.toggle('noScroll'); |
39 } | 39 } |
40 | 40 |
41 if (window.testRunner) | 41 if (window.testRunner) |
42 window.testRunner.waitUntilDone(); | 42 window.testRunner.waitUntilDone(); |
43 | 43 |
44 window.scrollTo(0, 4000); | 44 window.scrollTo(0, 4000); |
45 runAfterLayoutAndPaint(runRepaintTest); | 45 runAfterLayoutAndPaint(runRepaintTest); |
46 </script> | 46 </script> |
OLD | NEW |