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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/multicol/fixed-height-with-spanner-and-nested-tables.html

Issue 1557953002: Revert unfinished work of "full-frame-measurement" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PerfPaint
Patch Set: Created 4 years, 11 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/runner.js"></script> 2 <script src="../../resources/runner.js"></script>
3 <style> 3 <style>
4 #target div { display:table; } /* Just to slow it down a little. */ 4 #target div { display:table; } /* Just to slow it down a little. */
5 </style> 5 </style>
6 <pre id="log"></pre> 6 <pre id="log"></pre>
7 <!-- This multicol container has 3 columns. It contains a row of columns, a span ner, and another 7 <!-- This multicol container has 3 columns. It contains a row of columns, a span ner, and another
8 row of columns. Height is fixed and column-fill is auto, so we only need to balance the row 8 row of columns. Height is fixed and column-fill is auto, so we only need to balance the row
9 that precedes the spanner. That first row has 12 equal pieces of content, s o it should be 9 that precedes the spanner. That first row has 12 equal pieces of content, s o it should be
10 possible to balance it perfectly and easily (i.e. it should only need 2 lay out passes). It 10 possible to balance it perfectly and easily (i.e. it should only need 2 lay out passes). It
(...skipping 20 matching lines...) Expand all
31 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div> 31 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div>
32 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div> 32 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div>
33 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div> 33 <div><div><div><div><div><div><div><div>content content</div></div></div></d iv></div></div></div></div>
34 </div> 34 </div>
35 <script> 35 <script>
36 var target = document.getElementById("target"); 36 var target = document.getElementById("target");
37 var style = target.style; 37 var style = target.style;
38 38
39 function test() { 39 function test() {
40 style.display = "block"; 40 style.display = "block";
41 PerfTestRunner.forceLayoutOrFullFrame(); 41 PerfTestRunner.forceLayout();
42 style.display = "none"; 42 style.display = "none";
43 PerfTestRunner.forceLayoutOrFullFrame(); 43 PerfTestRunner.forceLayout();
44 } 44 }
45 45
46 PerfTestRunner.measureRunsPerSecond({ 46 PerfTestRunner.measureRunsPerSecond({
47 description: "Measures performance of multicol layout when not balancing columns.", 47 description: "Measures performance of multicol layout when not balancing columns.",
48 run: test 48 run: test
49 }); 49 });
50 </script> 50 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698