summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/tables/table-width-s.html
blob: 5b987e791931373fd8f8c4d418ea7242ef05d799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!doctype html>
<link rel="match" href="table-width-ref.html">

<style>
table {
  border-collapse: collapse;
}

td {
  padding: 0;
}
</style>

<!-- width=0 should be treated as 'auto' -->
<table width=0>
  <tr>
    <td>
      a b
    </td>
  </tr>
</table>

<hr>

<table width=1>
  <tr>
    <td>
      a b
    </td>
  </tr>
</table>