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

Side by Side Diff: LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html

Issue 20103002: Make composited scrolling codepaths co-operate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline TestExpectations Created 7 years, 2 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 width: 200px; 6 width: 200px;
7 height: 200px; 7 height: 200px;
8 overflow: scroll; 8 overflow: scroll;
9 margin: 20px; 9 margin: 20px;
10 border: 1px solid black; 10 border: 1px solid black;
(...skipping 21 matching lines...) Expand all
32 position: absolute; 32 position: absolute;
33 z-index: -20; 33 z-index: -20;
34 } 34 }
35 </style> 35 </style>
36 <script> 36 <script>
37 var debugMode = false; 37 var debugMode = false;
38 38
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.dumpAsText(); 40 testRunner.dumpAsText();
41 41
42 if (window.internals) 42 if (window.internals) {
43 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true); 43 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true);
44 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(f alse);
45 }
44 46
45 function write(str) 47 function write(str)
46 { 48 {
47 var pre = document.getElementById('console'); 49 var pre = document.getElementById('console');
48 var text = document.createTextNode(str + '\n'); 50 var text = document.createTextNode(str + '\n');
49 pre.appendChild(text); 51 pre.appendChild(text);
50 } 52 }
51 53
52 var iteration = 0; 54 var iteration = 0;
53 function printResult(expectedResult) 55 function printResult(expectedResult)
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 <div id="container"> 123 <div id="container">
122 <div id="positioned-ancestor"> 124 <div id="positioned-ancestor">
123 <div id="descendant"></div> 125 <div id="descendant"></div>
124 </div> 126 </div>
125 </div> 127 </div>
126 </div> 128 </div>
127 <pre id="console"></pre> 129 <pre id="console"></pre>
128 </body> 130 </body>
129 </html> 131 </html>
130 132
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698