Files
servo/tests/wpt/css-tests/css21_dev/html4/reference/margin-collapse-101-ref.htm

61 lines
1.0 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style type="text/css">
table
{
border: solid 3px;
border-spacing: 0;
font-size: 50px;
}
td
{
background-color: orange;
padding: 0;
}
div {margin: 1em 0;}
.a {background-color: yellow;}
.b {background-color: lime;}
.c {background-color: aqua;}
.d {background-color: blue;}
</style>
</head>
<body>
<p>Test passes if there is a stack of multi-colored horizontal bars with no red.</p>
<table>
<tr>
<td>
<div class="d">
<div class="a">A</div>
<div class="b">B</div>
<div class="c">C</div>
</div>
</td>
<td>
<div class="d">
<div class="a">A</div>
<div class="b">B</div>
<div class="c">C</div>
</div>
</td>
</tr>
</table>
</body>
</html>