summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/table-cell-overflow-explicit-height-002.html
blob: de65f625d68b2bc636436d6bf25c84e34da7488e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1880550">
<link rel="help" href="https://drafts.csswg.org/css-tables/#height-distribution">
<link rel="match" href="table-cell-overflow-explicit-height-ref.html">
<style>
td {
  height: 20px;
  max-height: 20px;
  border: 2px solid cyan;
  overflow: hidden;
}
.tall {
  height: 300px;
  background: blue;
  border: 2px solid black;
}
</style>
<table border>
  <td>
    <div class="tall"></div>
    Can you see this text?
  </td>
</table>