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

Side by Side Diff: LayoutTests/compositing/overflow/universal-accelerated-overflow-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 <style> 4 <style>
5 body { 5 body {
6 height: 2000px; 6 height: 2000px;
7 } 7 }
8 8
9 .positionFixed { 9 .positionFixed {
10 position: fixed; 10 position: fixed;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 background-color: green; 51 background-color: green;
52 width: 50px; 52 width: 50px;
53 height: 100px; 53 height: 100px;
54 top: 10px; 54 top: 10px;
55 left: 5px; 55 left: 5px;
56 z-index: 1; 56 z-index: 1;
57 } 57 }
58 </style> 58 </style>
59 <script> 59 <script>
60 if (window.internals) 60 if (window.internals)
61 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 61 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
62 62
63 function addDomElement(elementType, className, id, parent, description, indent) 63 function addDomElement(elementType, className, id, parent, description, indent)
64 { 64 {
65 var element = document.createElement(elementType); 65 var element = document.createElement(elementType);
66 element.setAttribute("class", className); 66 element.setAttribute("class", className);
67 element.setAttribute("id", id); 67 element.setAttribute("id", id);
68 if (parent === "body") 68 if (parent === "body")
69 document.body.appendChild(element); 69 document.body.appendChild(element);
70 else 70 else
71 document.getElementById(parent).appendChild(element); 71 document.getElementById(parent).appendChild(element);
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 } 267 }
268 268
269 window.onload = doTest; 269 window.onload = doTest;
270 270
271 </script> 271 </script>
272 </head> 272 </head>
273 <body> 273 <body>
274 </body> 274 </body>
275 </html> 275 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698