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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/nested-percent-height-tables.html

Issue 2692083002: Avoid unnecessary cell layout on nested percent height tables (Closed)
Patch Set: Created 3 years, 10 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
(Empty)
1 <!DOCTYPE HTML>
2 <style>
3 .body { margin:0; }
4 .maxHeight { width:100%; height:100%; }
5 .overflowDiv { overflow:hidden; display:inline-block }
6 .overflowAuto { overflow:auto; }
7 </style>
8 <html id="top">
9 <body class="body" style="height:100%;">
10 <table class="maxHeight">
11 <tr>
12 <td style="height:100%;">
13 <div class="maxHeight">
14 <table class="maxHeight">
15 <tr>
16 <td class="maxHeight">
17 <table class="maxHeight">
18 <tr>
19 <td style="height:100%;">
20 <div class="maxHeight">
21 <table id="top" class="maxHeight">
22 <colgroup>
23 <col/>
24 <col />
25 <col style="width:100%;"/>
26 </colgroup>
27 <tr style="height:100%;">
28 <td style="height:100%;">
29 <div class="overflowAuto maxHeight" style="posit ion:relative;">
30 </td>
31 <td rowspan="1">
32 <div class="overflowDiv" >
33 </div>
34 </td>
35 <td style="height:100%;">
36 <div class="overflowAuto maxHeight" style="posit ion:relative;">
37 <div class="maxHeight">
38 <table class="maxHeight">
39 <tr>
40 <td class="maxHeight">
41 <table class="maxHeight">
42 <tr>
43 <td style="height:100%;">
44 <table class="maxHeight">
45 <tr>
46 <td colspan="2" class="maxHe ight">
47 <div class=" maxHeight">
48 <table class="maxHeight" >
49 <tr>
50 <td class="maxHeight ">
51 <table class="maxH eight">
52 <tr>
53 <td style="he ight:100%;">
54 <table class ="maxHeight">
55 <tr>
56 <td clas s="maxHeight">
57 <table class="maxHeight">
58 <tr>
59 <t d class="maxHeight">
60 <div class="maxHeight">
61 <table class="maxHeight">
62 <tr>
63 <td class="maxHeight">
64 <table class="maxHeight">
65 <tr>
66 <td class="maxHeight">
67 <table class="maxHeight">
68 <tr>
69 <td class="maxHeight">
70 <table class="maxHeight">
71 <tr>
72 <td class="maxHeight">
73 <table class="maxHeight">
74 <tr>
75 <td class="maxHeight">
76 <table class="maxHeight">
77 <tr>
78 <td class="maxHeight">
79 <table class="maxHeight">
80 <tr>
81 <td class="maxHeight">
82 <script src="../resources/runner.js"></script>
83 <script>
84 function test() {
85 PerfTestRunner.forceLayout();
86 document.getElementById("top").style.height = "100%";
87 PerfTestRunner.forceLayout();
88 document.getElementById("top").style.height = "auto";
89 }
90 PerfTestRunner.measureRunsPerSecond({
91 description: "Measures performance of nested tables with percent height.",
92 run: test,
93 });
94 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698