Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: LayoutTests/fast/events/touch/compositor-touch-hit-rects.html

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698