| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <!-- | 2 <!-- |
| 3 This test ensures that the offset from renderer is correctly applied | 3 This test ensures that the offset from renderer is correctly applied |
| 4 to reparented overflow controls, even if they are unclipped. | 4 to reparented overflow controls, even if they are unclipped. |
| 5 --> | 5 --> |
| 6 <style> | 6 <style> |
| 7 #scroller { | 7 #scroller { |
| 8 overflow: scroll; | 8 overflow: scroll; |
| 9 width: 300px; | 9 width: 300px; |
| 10 height: 300px; | 10 height: 300px; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 <div id='fixed'></div> | 33 <div id='fixed'></div> |
| 34 <div id='scrolled'></div> | 34 <div id='scrolled'></div> |
| 35 </div> | 35 </div> |
| 36 </div> | 36 </div> |
| 37 <script> | 37 <script> |
| 38 // Check that a case with a reparented overflow control and a containing perspec
tive node | 38 // Check that a case with a reparented overflow control and a containing perspec
tive node |
| 39 // paints the same with and without layer squashing. | 39 // paints the same with and without layer squashing. |
| 40 if (window.internals) { | 40 if (window.internals) { |
| 41 window.internals.settings.setOverlayScrollbarsEnabled(true); | 41 window.internals.settings.setOverlayScrollbarsEnabled(true); |
| 42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); | 42 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| 43 window.internals.settings.setLayerSquashingEnabled(true); | |
| 44 } | 43 } |
| 45 </script> | 44 </script> |
| OLD | NEW |