Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="margins between parent and child block collapse inside caption" />
<title>
Caption block containers are rendered same as normal block boxes
</title>
<style>
div {
margin-top: 100px;
}
</style>
<p>Test passes if there is a filled green square.</p>
<table>
<caption style="width:100px; background:green">
<div>
<div></div>
</div>
</caption>
</table>