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