Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/overflow-clip-012.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
#multicol {
columns: 2;
column-fill: auto;
column-gap: 0px;
height: 100px;
width: 100px;
}
fieldset {
overflow: clip;
margin: 0;
border: none;
padding: 0;
max-height: 200px;
}
fieldset > div {
contain: size;
width: 50px;
background: green;
}
</style>
<p>Test passes if there is a filled green square.</p>
<div id="multicol">
<fieldset>
<div style="height:50px;"></div>
<div style="position:absolute; height:50px;"></div>
<div style="height:150px;"></div>
</fieldset>
</div>