| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style> | 3 <style> |
| 4 .container { | 4 .container { |
| 5 width: 200px; | 5 width: 200px; |
| 6 height: 200px; | 6 height: 200px; |
| 7 overflow: scroll; | 7 overflow: scroll; |
| 8 margin: 20px; | 8 margin: 20px; |
| 9 border: 1px solid black; | 9 border: 1px solid black; |
| 10 position: relative; | 10 position: relative; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 'overflow-scroll div\'s unclipped descendant g
ets ' + | 36 'overflow-scroll div\'s unclipped descendant g
ets ' + |
| 37 'its own composited layer, which is correctly
' + | 37 'its own composited layer, which is correctly
' + |
| 38 'parented under the overflow-div\'s composited
layer.\n\n'; | 38 'parented under the overflow-div\'s composited
layer.\n\n'; |
| 39 var text = document.createTextNode(testDescription); | 39 var text = document.createTextNode(testDescription); |
| 40 pre.appendChild(text); | 40 pre.appendChild(text); |
| 41 | 41 |
| 42 if(window.internals) { | 42 if(window.internals) { |
| 43 var layerTree = window.internals.layerTreeAsText(document); | 43 var layerTree = window.internals.layerTreeAsText(document); |
| 44 text = document.createTextNode(layerTree + '\n'); | 44 text = document.createTextNode(layerTree + '\n'); |
| 45 pre.appendChild(text); | 45 pre.appendChild(text); |
| 46 window.internals.settings.setCompositorDrivenAcceleratedScrollin
gEnabled(false); | |
| 47 } | 46 } |
| 48 } | 47 } |
| 49 | 48 |
| 50 window.onload = doTest; | 49 window.onload = doTest; |
| 51 </script> | 50 </script> |
| 52 </head> | 51 </head> |
| 53 | 52 |
| 54 <body> | 53 <body> |
| 55 <div class='container'> | 54 <div class='container'> |
| 56 <div class='scrolled'></div> | 55 <div class='scrolled'></div> |
| 57 <div class='scrolled' style='position:fixed; top:150px'></div> | 56 <div class='scrolled' style='position:fixed; top:150px'></div> |
| 58 </div> | 57 </div> |
| 59 <pre id='console'></pre> | 58 <pre id='console'></pre> |
| 60 </body> | 59 </body> |
| 61 </html> | 60 </html> |
| OLD | NEW |