Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexbox_visibility-collapse.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | visibility: collapse</title>
<link rel="help"
<link rel="match" href="flexbox_visibility-collapse-ref.html">
<style>
body {
margin: 0;
}
div {
background: #3366cc;
border: 1px solid black;
display: flex;
}
p {
background: #ffcc00;
margin: 2em;
}
#test {
background: red;
visibility: collapse;
}
</style>
<div>
<p>filler</p>
<p id="test">FAIL</p>
<p>filler</p>
</div>