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

Side by Side Diff: PerformanceTests/Layout/multicol/tall-content-short-columns.html

Issue 1239783002: Multicol performance tests for tall content (so that we get (very) many columns). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | PerformanceTests/Layout/multicol/tall-content-short-columns-realistic.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/runner.js"></script>
3 <body style="overflow:scroll;"> <!-- don't want auto scrollbars to affect the nu mber of layout passes. -->
4 <pre id="log"></pre>
5 <div id="target" style="position:absolute; top:0; left:0; display:none; -web kit-columns:2; column-fill:auto; width:40em; height:2em;">
6 <div style="height:1234567890px;">xxxxxxxxxx</div>
7 </div>
8 <script>
9 var target = document.getElementById("target");
10 var style = target.style;
11
12 function test() {
13 style.display = "block";
14 PerfTestRunner.forceLayoutOrFullFrame();
15
16 // Do some hit-testing.
17 document.caretRangeFromPoint(10, 10);
18
19 style.display = "none";
20 PerfTestRunner.forceLayoutOrFullFrame();
21 }
22
23 PerfTestRunner.measureRunsPerSecond({
24 description: "Measures performance of multicol layout with many columns. ",
25 run: test
26 });
27 </script>
28 </body>
OLDNEW
« no previous file with comments | « no previous file | PerformanceTests/Layout/multicol/tall-content-short-columns-realistic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698