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

Side by Side Diff: LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 years, 3 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 30 matching lines...) Expand all
41 background-color: green; 41 background-color: green;
42 position: relative; 42 position: relative;
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(false); 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 55
56 function writeResult(iteration, expectedResult) 56 function writeResult(iteration, expectedResult)
57 { 57 {
58 document.body.offsetTop; 58 document.body.offsetTop;
59 59
60 if (!window.internals) 60 if (!window.internals)
61 return; 61 return;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 <body> 212 <body>
213 <div id="predecessor"></div> 213 <div id="predecessor"></div>
214 <div id="container"> 214 <div id="container">
215 <div id="contentPredecessor"></div> 215 <div id="contentPredecessor"></div>
216 <div id="content"></div> 216 <div id="content"></div>
217 <div id="contentSuccessor"></div> 217 <div id="contentSuccessor"></div>
218 </div> 218 </div>
219 <pre id="result"></pre> 219 <pre id="result"></pre>
220 </body> 220 </body>
221 </html> 221 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698