| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta name="viewport" content="width=device-width"> | 4 <meta name="viewport" content="width=device-width"> |
| 5 | 5 |
| 6 <style> | 6 <style> |
| 7 body { | 7 body { |
| 8 margin: 0; | 8 margin: 0; |
| 9 -webkit-overflow-scrolling: touch; | 9 -webkit-overflow-scrolling: touch; |
| 10 } | 10 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 width: 280px; | 21 width: 280px; |
| 22 height: 1200px; | 22 height: 1200px; |
| 23 background: silver; | 23 background: silver; |
| 24 border: 2px solid blue; | 24 border: 2px solid blue; |
| 25 z-index: 0; | 25 z-index: 0; |
| 26 } | 26 } |
| 27 </style> | 27 </style> |
| 28 <script> | 28 <script> |
| 29 if (window.testRunner) | 29 if (window.testRunner) |
| 30 testRunner.dumpAsText(); | 30 testRunner.dumpAsText(); |
| 31 if (window.internals) |
| 32 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
d(true); |
| 31 | 33 |
| 32 window.addEventListener('load', function() { | 34 window.addEventListener('load', function() { |
| 33 if (window.testRunner) | 35 if (window.testRunner) |
| 34 document.getElementById('layers').innerHTML = window.internals.layerTree
AsText(document); | 36 document.getElementById('layers').innerHTML = window.internals.layerTree
AsText(document); |
| 35 }, true); | 37 }, true); |
| 36 </script> | 38 </script> |
| 37 </head> | 39 </head> |
| 38 | 40 |
| 39 <body> | 41 <body> |
| 40 <div class="scroller"> | 42 <div class="scroller"> |
| 41 <div class="column"> | 43 <div class="column"> |
| 42 </div> | 44 </div> |
| 43 </div> | 45 </div> |
| 44 <pre id="layers">Layer tree goes here in DRT</pre> | 46 <pre id="layers">Layer tree goes here in DRT</pre> |
| 45 </body> | 47 </body> |
| 46 </html> | 48 </html> |
| OLD | NEW |