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

Side by Side Diff: PerformanceTests/Layout/flexbox-with-stretch-layout.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: alancutter nits Created 6 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/runner.js"></script> 4 <script src="../resources/runner.js"></script>
5 <style> 5 <style>
6 6
7 #container { 7 #container {
8 display: flex; 8 display: flex;
9 flex-wrap: wrap; 9 flex-wrap: wrap;
10 } 10 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 function runTest() 53 function runTest()
54 { 54 {
55 var inlineBlocks = document.getElementsByClassName("inlineBlock"); 55 var inlineBlocks = document.getElementsByClassName("inlineBlock");
56 for (var i = inlineBlocks.length - 1; i >= 0; i--) { 56 for (var i = inlineBlocks.length - 1; i >= 0; i--) {
57 inlineBlocks[i].innerText = switcher ? " " : nbsp; 57 inlineBlocks[i].innerText = switcher ? " " : nbsp;
58 inlineBlocks[i].offsetTop; 58 inlineBlocks[i].offsetTop;
59 }; 59 };
60 switcher = !switcher; 60 switcher = !switcher;
61 }; 61 };
62 62
63 PerfTestRunner.measureRunsPerSecond({run: runTest }); 63 PerfTestRunner.measureRunsPerSecond({
64 description: "Measures performance of flexbox containing many small elements with wrapping (column).",
65 run: runTest
66 });
64 </script> 67 </script>
65 </html> 68 </html>
OLDNEW
« no previous file with comments | « PerformanceTests/Layout/flexbox-row-wrap.html ('k') | PerformanceTests/Layout/floats_100_100.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698