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

Side by Side Diff: LayoutTests/compositing/overflow/ancestor-with-clip-path.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 <style> 2 <style>
3 #scroller { 3 #scroller {
4 overflow: scroll; 4 overflow: scroll;
5 height: 300px; 5 height: 300px;
6 width: 300px; 6 width: 300px;
7 background-color: red; 7 background-color: red;
8 } 8 }
9 9
10 #outer { 10 #outer {
(...skipping 30 matching lines...) Expand all
41 if (layer.children) { 41 if (layer.children) {
42 for (var i = 0; i < layer.children.length; i++) { 42 for (var i = 0; i < layer.children.length; i++) {
43 if (isUsingCompositedScrolling(layer.children[i])) 43 if (isUsingCompositedScrolling(layer.children[i]))
44 return true; 44 return true;
45 } 45 }
46 } 46 }
47 return false; 47 return false;
48 } 48 }
49 49
50 if (window.internals) 50 if (window.internals)
51 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 51 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
52 52
53 if (window.testRunner) { 53 if (window.testRunner) {
54 window.testRunner.dumpAsText(); 54 window.testRunner.dumpAsText();
55 window.testRunner.waitUntilDone(); 55 window.testRunner.waitUntilDone();
56 } 56 }
57 57
58 var result = ""; 58 var result = "";
59 59
60 onload = function() { 60 onload = function() {
61 if (window.internals) { 61 if (window.internals) {
(...skipping 13 matching lines...) Expand all
75 result += "Fail.\n" 75 result += "Fail.\n"
76 } 76 }
77 77
78 if (window.testRunner) { 78 if (window.testRunner) {
79 window.testRunner.setCustomTextOutput(result); 79 window.testRunner.setCustomTextOutput(result);
80 window.testRunner.notifyDone(); 80 window.testRunner.notifyDone();
81 } 81 }
82 }); 82 });
83 }; 83 };
84 </script> 84 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698