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

Side by Side Diff: LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.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 #predecessor { 5 #predecessor {
6 width: 70px; 6 width: 70px;
7 height: 70px; 7 height: 70px;
8 left: 25px; 8 left: 25px;
9 top: 25px; 9 top: 25px;
10 z-index: 2; 10 z-index: 2;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 display: none; 43 display: none;
44 } 44 }
45 </style> 45 </style>
46 46
47 <script> 47 <script>
48 var debug = false; 48 var debug = false;
49 49
50 if (window.testRunner) 50 if (window.testRunner)
51 testRunner.dumpAsText(); 51 testRunner.dumpAsText();
52 52
53 if (window.internals) 53 if (window.internals) {
54 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true); 54 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true);
55 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(f alse);
56 }
55 57
56 function writeResult(iteration, expectedResult) 58 function writeResult(iteration, expectedResult)
57 { 59 {
58 document.body.offsetTop; 60 document.body.offsetTop;
59 61
60 if (!window.internals) 62 if (!window.internals)
61 return; 63 return;
62 64
63 if (debug) 65 if (debug)
64 writeDebug(iteration); 66 writeDebug(iteration);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 <body> 214 <body>
213 <div id="predecessor"></div> 215 <div id="predecessor"></div>
214 <div id="container"> 216 <div id="container">
215 <div id="contentPredecessor"></div> 217 <div id="contentPredecessor"></div>
216 <div id="content"></div> 218 <div id="content"></div>
217 <div id="contentSuccessor"></div> 219 <div id="contentSuccessor"></div>
218 </div> 220 </div>
219 <pre id="result"></pre> 221 <pre id="result"></pre>
220 </body> 222 </body>
221 </html> 223 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698