Status: FAIL | Duration: 19ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/normal-flow/margin-collapsing-in-table-caption-001.html
<!DOCTYPE html> <meta charset="utf-8"> <link rel="author" title="David Grogan" href="dgrogan@chromium.org"> <link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#model"> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="margins between sibling blocks are collapsed inside caption" /> <title> Caption block containers are rendered same as normal block boxes </title> <style> div { margin: 10px; height: 35px; } </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>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>