Chromium Code Reviews| Index: third_party/WebKit/PerformanceTests/Layout/nested-percent-height-tables.html |
| diff --git a/third_party/WebKit/PerformanceTests/Layout/nested-percent-height-tables.html b/third_party/WebKit/PerformanceTests/Layout/nested-percent-height-tables.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..864d096a780f61b003fedfe1dfaa010e367a33c3 |
| --- /dev/null |
| +++ b/third_party/WebKit/PerformanceTests/Layout/nested-percent-height-tables.html |
| @@ -0,0 +1,91 @@ |
| +<!DOCTYPE HTML> |
|
mstensho (USE GERRIT)
2017/02/06 21:11:07
It's always awesome to land the performance test s
|
| +<style> |
| +.body { margin:0; } |
| +.maxHeight { width:100%; height:100%; } |
| +.overflowDiv { overflow:hidden; display:inline-block } |
| +.overflowAuto { overflow:auto; } |
| +</style> |
| +<html style="height:100%;"> |
| + <body class="body" style="height:100%;"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td style="height:100%;"> |
| + <div class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td style="height:100%;"> |
| + <div class="maxHeight"> |
| + <table id="top" class="maxHeight"> |
| + <colgroup> |
| + <col/> |
| + <col /> |
| + <col style="width:100%;"/> |
| + </colgroup> |
| + <tr style="height:100%;"> |
| + <td style="height:100%;"> |
| + <div class="overflowAuto maxHeight" style="position:relative;"> |
| + </td> |
| + <td rowspan="1"> |
| + <div class="overflowDiv" > |
| + </div> |
| + </td> |
| + <td style="height:100%;"> |
| + <div class="overflowAuto maxHeight" style="position:relative;"> |
| + <div class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td style="height:100%;"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td colspan="2" class="maxHeight"> |
| + <div class=" maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td style="height:100%;"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <div class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| + <table class="maxHeight"> |
| + <tr> |
| + <td class="maxHeight"> |
| +<script src="../resources/runner.js"></script> |
| +<script> |
| +function test() { |
| + PerfTestRunner.forceLayout(); |
|
mstensho (USE GERRIT)
2017/02/06 21:11:07
Can you be sure that nothing has already been laid
|
| +} |
| +PerfTestRunner.measureRunsPerSecond({ |
| + description: "Measures performance of nested tables with percent height.", |
| + run: test |
| +}); |
| +</script> |