summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/shrink-wrap-avail.html
blob: a979a70326a0917ecdb5c5dea7f04e4b9d7fd3ba (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: 100px"><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>