Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/table-width/reftest.list
<!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>​<span>x</span>​<span>x</span>​<span>x</span></td>
</tr></table></div>
</body>
</html>