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

Side by Side Diff: LayoutTests/compositing/overflow/clear-scroll-parent.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 .container { 5 .container {
6 height: 200px; 6 height: 200px;
7 width: 300px; 7 width: 300px;
8 border: 4px solid black; 8 border: 4px solid black;
9 overflow-y: scroll; 9 overflow-y: scroll;
10 resize: both; 10 resize: both;
(...skipping 28 matching lines...) Expand all
39 height: 80px; 39 height: 80px;
40 overflow: hidden; 40 overflow: hidden;
41 } 41 }
42 42
43 </style> 43 </style>
44 <script> 44 <script>
45 if (window.testRunner) 45 if (window.testRunner)
46 testRunner.dumpAsText(); 46 testRunner.dumpAsText();
47 47
48 if (window.internals) { 48 if (window.internals) {
49 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnab led(true); 49 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
50 } 50 }
51 51
52 function runTest() { 52 function runTest() {
53 var pre = document.createElement('pre'); 53 var pre = document.createElement('pre');
54 if (!window.internals) { 54 if (!window.internals) {
55 var description = "This test ensures that amongst the graphics " 55 var description = "This test ensures that amongst the graphics "
56 + "layers corresponding to a single RenderLayer, only one may " 56 + "layers corresponding to a single RenderLayer, only one may "
57 + "have a scroll parent."; 57 + "have a scroll parent.";
58 pre.innerHTML = description; 58 pre.innerHTML = description;
59 } else { 59 } else {
(...skipping 15 matching lines...) Expand all
75 <div id='clip'> 75 <div id='clip'>
76 <div class="box red"></div> 76 <div class="box red"></div>
77 </div> 77 </div>
78 <div class="box"></div> 78 <div class="box"></div>
79 <div class="box"></div> 79 <div class="box"></div>
80 <div class="box"></div> 80 <div class="box"></div>
81 <div class="box"></div> 81 <div class="box"></div>
82 </div> 82 </div>
83 </body> 83 </body>
84 </html> 84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698