| Index: LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html
|
| diff --git a/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html b/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f375e8d6b9619ad41bad4f39af49644b06842c51
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +table {
|
| + width: 250px;
|
| +}
|
| +
|
| +td {
|
| + width: 242px;
|
| +}
|
| +
|
| +.cell-specified-height {
|
| + height: 202px;
|
| +}
|
| +
|
| +.container {
|
| + height: 100%;
|
| + overflow-y: hidden;
|
| + border: 1px solid #ccc;
|
| +}
|
| +.content {
|
| + background-color: black;
|
| + height: 2000px;
|
| + width: 225px;
|
| +}
|
| +</style>
|
| +<table>
|
| + <td class="cell-specified-height">
|
| + <div class="container" data-expected-height=200>
|
| + <div class="content"></div>
|
| + </div>
|
| + </td>
|
| +</table>
|
| +<script src="../../resources/check-layout.js"></script>
|
| +<p> crbug.com/465096: Percent height content in a cell with a computed height should use the height of the cell. </p>
|
| +<div id="output"></div>
|
| +<script>
|
| +checkLayout('.container', output);
|
| +</script>
|
|
|