| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures that reparented overlay scrollbars still respect | 3 This test ensures that reparented overlay scrollbars still respect |
| 4 clips applied by a tree-order ancestor, even if that ancestor is | 4 clips applied by a tree-order ancestor, even if that ancestor is |
| 5 not an ancestor in the compositing layer tree. | 5 not an ancestor in the compositing layer tree. |
| 6 --> | 6 --> |
| 7 <style> | 7 <style> |
| 8 #clipper { | 8 #clipper { |
| 9 overflow: hidden; | 9 overflow: hidden; |
| 10 width: 400px; | 10 width: 400px; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #scrolled { | 31 #scrolled { |
| 32 position: relative; | 32 position: relative; |
| 33 background: green; | 33 background: green; |
| 34 width: 80px; | 34 width: 80px; |
| 35 height: 500px; | 35 height: 500px; |
| 36 } | 36 } |
| 37 </style> | 37 </style> |
| 38 <script> | 38 <script> |
| 39 if (window.internals) { | 39 if (window.internals) { |
| 40 window.internals.settings.setOverlayScrollbarsEnabled(true); | 40 window.internals.settings.setOverlayScrollbarsEnabled(true); |
| 41 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(
true); | 41 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| 42 } | 42 } |
| 43 </script> | 43 </script> |
| 44 <div id='clipper'> | 44 <div id='clipper'> |
| 45 <div id='scroller'> | 45 <div id='scroller'> |
| 46 <div id='fixed'></div> | 46 <div id='fixed'></div> |
| 47 <div id='scrolled'></div> | 47 <div id='scrolled'></div> |
| 48 </div> | 48 </div> |
| 49 </div> | 49 </div> |
| OLD | NEW |