| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> | 4 <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> |
| 5 <style> | 5 <style> |
| 6 #inlineOverflow { | 6 #inlineOverflow { |
| 7 width: 15px; | 7 width: 15px; |
| 8 } | 8 } |
| 9 #absoluteChild { | 9 #absoluteChild { |
| 10 position: absolute; | 10 position: absolute; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 <script> | 154 <script> |
| 155 preRunHandlerForTest['styleModified'] = function(e) { | 155 preRunHandlerForTest['styleModified'] = function(e) { |
| 156 // Adding padding to the element should force the rects to be recomputed. | 156 // Adding padding to the element should force the rects to be recomputed. |
| 157 e.style.padding = '5px'; | 157 e.style.padding = '5px'; |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 // Make fixed-position cases slightly more interesting | 160 // Make fixed-position cases slightly more interesting |
| 161 window.scrollTo(0, 13); | 161 window.scrollTo(0, 13); |
| 162 | 162 |
| 163 if (window.internals) { | 163 if (window.internals) { |
| 164 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(fa
lse); | 164 window.internals.settings.setPreferCompositingToLCDTextEnabled(false); |
| 165 } | 165 } |
| 166 </script> | 166 </script> |
| 167 </body> | 167 </body> |
| OLD | NEW |