summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/tables/table-cell-nowrap-with-fixed-width.html
blob: 65962ac2734c5573f172b7303d95a20d33534905 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<link rel="help" href="https://html.spec.whatwg.org/#tables-2">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=821915">
<link rel="match" href="table-cell-nowrap-with-fixed-width-ref.html">
<title>A td element with the nowrap attribute should unconditionally apply white-space:nowrap</title>
<style>
table { border-spacing: 0; }
td { width: 10px; padding: 0; }
div { display: inline-block; background: green; width: 50px; height: 100px; }
</style>
<table>
  <td nowrap>
    <div></div><div></div>
  </td>
</table>