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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/nested-blocks-with-percent-height-and-max-height.html

Issue 1405953005: Avoid multiple recursions through the tree when calculating percent height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@322039-2
Patch Set: Updated Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('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>
leviw_travelin_and_unemployed 2015/10/29 21:44:10 What would you say to landing this test first to g
2 <style>
3 html, body {
4 height: 100%;
5 }
6 .container {
leviw_travelin_and_unemployed 2015/10/29 21:44:58 Also, it seems like this could just be "div" :)
7 height: 50%;
8 max-height: 50%;
9 }
10 </style>
11 <div class="container">
12 <div class="container">
13 <div class="container">
14 <div class="container">
15 <div class="container">
16 <div class="container">
17 <div class="container">
18 <div class="container">
19 <div class="container">
20 <div class="container">
21 <div class="container">
22 <div class="container">
23 <div class="container">
24 <div class="container">
25 <div class="container">
26 <div class="containe r">
27 <div class="cont ainer">
28 <div class=" container">
29 <div cla ss="container">
30 <div class="container">
31 <div class="container">
32 <div class="container">
33 <div class="container">
34 <div class="container">
35 </div>
36 </div>
37 </div>
38 </div>
39 </di v>
40 </div>
41 </div>
42 </div>
43 </div>
44 </div>
45 </div>
46 </div>
47 </div>
48 </div>
49 </div>
50 </div>
51 </div>
52 </div>
53 </div>
54 </div>
55 </div>
56 </div>
57 </div>
58 </div>
59 <script src="../resources/runner.js"></script>
60 <script>
61 function test() {
62 PerfTestRunner.forceLayoutOrFullFrame();
63 }
64
65 PerfTestRunner.measureRunsPerSecond({
66 description: "Measures performance of nested divs with percent values for height and max-height.",
67 run: test
68 });
69 </script>
70 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698