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

Side by Side Diff: LayoutTests/compositing/overflow/descendant-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 #inner { 10 #inner {
(...skipping 23 matching lines...) Expand all
34 if (layer.children) { 34 if (layer.children) {
35 for (var i = 0; i < layer.children.length; i++) { 35 for (var i = 0; i < layer.children.length; i++) {
36 if (isUsingCompositedScrolling(layer.children[i])) 36 if (isUsingCompositedScrolling(layer.children[i]))
37 return true; 37 return true;
38 } 38 }
39 } 39 }
40 return false; 40 return false;
41 } 41 }
42 42
43 if (window.internals) 43 if (window.internals)
44 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 44 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
45 45
46 if (window.testRunner) { 46 if (window.testRunner) {
47 window.testRunner.dumpAsText(); 47 window.testRunner.dumpAsText();
48 window.testRunner.waitUntilDone(); 48 window.testRunner.waitUntilDone();
49 } 49 }
50 50
51 var result = ""; 51 var result = "";
52 52
53 onload = function() { 53 onload = function() {
54 if (window.internals) { 54 if (window.internals) {
(...skipping 13 matching lines...) Expand all
68 result += "Fail.\n" 68 result += "Fail.\n"
69 } 69 }
70 70
71 if (window.testRunner) { 71 if (window.testRunner) {
72 window.testRunner.setCustomTextOutput(result); 72 window.testRunner.setCustomTextOutput(result);
73 window.testRunner.notifyDone(); 73 window.testRunner.notifyDone();
74 } 74 }
75 }); 75 });
76 }; 76 };
77 </script> 77 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698