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

Side by Side Diff: LayoutTests/compositing/overflow/universal-accelerated-overflow-scroll.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 body { 5 body {
6 height: 2000px; 6 height: 2000px;
7 } 7 }
8 8
9 .positionFixed { 9 .positionFixed {
10 position: fixed; 10 position: fixed;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 function testConfiguration(configuration, index, description) { 144 function testConfiguration(configuration, index, description) {
145 description.push("\n" + (index + 1) + ". '" + configuration.title + "'\n"); 145 description.push("\n" + (index + 1) + ". '" + configuration.title + "'\n");
146 var configurationsPerRow = 4; 146 var configurationsPerRow = 4;
147 configuration.top = 10 + 120 * (Math.floor(index / configurationsPerRow)); 147 configuration.top = 10 + 120 * (Math.floor(index / configurationsPerRow));
148 configuration.left = 10 + 120 * (index % configurationsPerRow); 148 configuration.left = 10 + 120 * (index % configurationsPerRow);
149 buildDom(description, 0, configuration); 149 buildDom(description, 0, configuration);
150 } 150 }
151 151
152 function doTest() { 152 function doTest() {
153 if (window.internals) 153 if (window.internals)
154 testRunner.dumpAsText(true); 154 testRunner.dumpAsTextWithPixelResults();
155 155
156 // Some configurations are as not meaningful for fixed-pos. For example, we 156 // Some configurations are as not meaningful for fixed-pos. For example, we
157 // alternate between having the scroll container be a containing block f or 157 // alternate between having the scroll container be a containing block f or
158 // the positioned descendant. For the fixed-pos case, the containing blo ck 158 // the positioned descendant. For the fixed-pos case, the containing blo ck
159 // will be the viewport. 159 // will be the viewport.
160 var configurations = [ 160 var configurations = [
161 { 161 {
162 'title': 'absolute-grandchildren-not-contained', 162 'title': 'absolute-grandchildren-not-contained',
163 'isFixedPositioned': false, 163 'isFixedPositioned': false,
164 'isContainingBlock': false, 164 'isContainingBlock': false,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 } 266 }
267 } 267 }
268 268
269 window.onload = doTest; 269 window.onload = doTest;
270 270
271 </script> 271 </script>
272 </head> 272 </head>
273 <body> 273 <body>
274 </body> 274 </body>
275 </html> 275 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698