| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 .container { | 6 .container { |
| 7 width: 200px; | 7 width: 200px; |
| 8 height: 200px; | 8 height: 200px; |
| 9 overflow: scroll; | 9 overflow: scroll; |
| 10 margin: 20px; | 10 margin: 20px; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 z-index: -20; | 33 z-index: -20; |
| 34 } | 34 } |
| 35 </style> | 35 </style> |
| 36 <script> | 36 <script> |
| 37 var debugMode = false; | 37 var debugMode = false; |
| 38 | 38 |
| 39 if (window.testRunner) | 39 if (window.testRunner) |
| 40 testRunner.dumpAsText(); | 40 testRunner.dumpAsText(); |
| 41 | 41 |
| 42 if (window.internals) | 42 if (window.internals) |
| 43 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
d(true); | 43 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
dMode(window.internals.settings.AcceleratedCompositingForOverflowScrollEnabled); |
| 44 | 44 |
| 45 function write(str) | 45 function write(str) |
| 46 { | 46 { |
| 47 var pre = document.getElementById('console'); | 47 var pre = document.getElementById('console'); |
| 48 var text = document.createTextNode(str + '\n'); | 48 var text = document.createTextNode(str + '\n'); |
| 49 pre.appendChild(text); | 49 pre.appendChild(text); |
| 50 } | 50 } |
| 51 | 51 |
| 52 var iteration = 0; | 52 var iteration = 0; |
| 53 function printResult(expectedResult) | 53 function printResult(expectedResult) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 <body> | 106 <body> |
| 107 <div class="container" id="container"> | 107 <div class="container" id="container"> |
| 108 <div class="scrolled" id="firstChild"></div> | 108 <div class="scrolled" id="firstChild"></div> |
| 109 <div class="scrolled" id="secondChild"></div> | 109 <div class="scrolled" id="secondChild"></div> |
| 110 <div class="positioned" id="descendant"></div> | 110 <div class="positioned" id="descendant"></div> |
| 111 </div> | 111 </div> |
| 112 <pre id="console"></pre> | 112 <pre id="console"></pre> |
| 113 </body> | 113 </body> |
| 114 </html> | 114 </html> |
| 115 | 115 |
| OLD | NEW |