servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/flexbox_visibility-collapse.xht

30 lines
No EOL
726 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>flexbox | visibility: collapse</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<link href="http://www.w3.org/TR/css-flexbox-1/#visibility-collapse" rel="help" />
<link href="reference/flexbox_visibility-collapse-ref.xht" rel="match" />
<style>
body {
margin: 0;
}
div {
background: #3366cc;
border: 1px solid black;
display: flex;
}
p {
background: #ffcc00;
margin: 2em;
}
#test {
background: red;
visibility: collapse;
}
</style>
</head><body><div>
<p>damer</p>
<p id="test">FAIL</p>
<p>damer</p>
</div>
</body></html>