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

Side by Side Diff: PerformanceTests/Layout/flexbox-row-wrap.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 </head> 5 </head>
6 <body style="overflow-y: scroll"> 6 <body style="overflow-y: scroll">
7 7
8 <div id="flexbox" style="width: 300px; flex-wrap: wrap; justify-content: center; align-items: center"> 8 <div id="flexbox" style="width: 300px; flex-wrap: wrap; justify-content: center; align-items: center">
9 <div style="flex: 1 120px">1</div> 9 <div style="flex: 1 120px">1</div>
10 <div style="flex: 2 auto">2<br>2</div> 10 <div style="flex: 2 auto">2<br>2</div>
(...skipping 10 matching lines...) Expand all
21 </body> 21 </body>
22 <script> 22 <script>
23 function runTest() 23 function runTest()
24 { 24 {
25 document.getElementById("flexbox").style.display = 'flex'; 25 document.getElementById("flexbox").style.display = 'flex';
26 document.body.clientHeight; 26 document.body.clientHeight;
27 document.getElementById("flexbox").style.display = ''; 27 document.getElementById("flexbox").style.display = '';
28 document.body.clientHeight; 28 document.body.clientHeight;
29 } 29 }
30 30
31 PerfTestRunner.measureRunsPerSecond({run: runTest, done:function() { 31 PerfTestRunner.measureRunsPerSecond({
32 document.getElementById("flexbox").style.display = 'none'; 32 description: "Measures performance of flexbox with wrapping (row).",
33 }}); 33 run: runTest,
34 done: function() {
35 document.getElementById("flexbox").style.display = 'none';
36 }
37 });
34 </script> 38 </script>
35 </html> 39 </html>
OLDNEW
« no previous file with comments | « PerformanceTests/Layout/flexbox-row-nowrap.html ('k') | PerformanceTests/Layout/flexbox-with-stretch-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698