summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/shrink-wrap-min.html
blob: 94ac5e1437c8ecff810697b351314a3d8a4bdb99 (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
<!DOCTYPE HTML>
<html>
<head>
<title>Shrink-wrapping of tables</title>
<style type="text/css">

table, td {
  border: none;
  margin: 0;
  padding: 0;
  border-spacing: 0;
}

span {
  display: inline-block;
  width: 50px;
  background: yellow;
  color: black;
}

</style>
</head>
<body>

<div style="width: 20px"><table><tr>
<td style="background:aqua;color:aqua"><span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span></td>
</tr></table></div>

</body>
</html>