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

Side by Side Diff: LayoutTests/fast/events/touch/compositor-touch-hit-rects-scroll.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 .scroll { 6 .scroll {
7 overflow-y: scroll; 7 overflow-y: scroll;
8 overflow-x: hidden; 8 overflow-x: hidden;
9 border: 1px solid lightgrey; 9 border: 1px solid lightgrey;
10 height: 50px; 10 height: 50px;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 preRunHandlerForTest['overflowWithHandler'] = function(e) { 118 preRunHandlerForTest['overflowWithHandler'] = function(e) {
119 document.getElementById('scroll4').scrollTop = 20; 119 document.getElementById('scroll4').scrollTop = 20;
120 document.getElementById('overflowWithHandler').scrollTop = 18; 120 document.getElementById('overflowWithHandler').scrollTop = 18;
121 }; 121 };
122 122
123 preRunHandlerForTest['overflowwithborder'] = function(e) { 123 preRunHandlerForTest['overflowwithborder'] = function(e) {
124 document.getElementById('overflowwithborder').scrollTop = 18; 124 document.getElementById('overflowwithborder').scrollTop = 18;
125 }; 125 };
126 126
127 if (window.internals) { 127 if (window.internals) {
128 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 128 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
129 } 129 }
130 </script> 130 </script>
131 </body> 131 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/touch/compositor-touch-hit-rects-non-composited-scroll.html ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698