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/flexbox/flex-item-content-overflow-001b.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Tests that a flex item's overflow content in the second column has the same inline-size as its previous fragment in the first column.</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="match" href="flex-item-content-overflow-001-ref.html">
<style>
.multicol {
column-count: 2;
column-gap: 0;
column-fill: auto;
inline-size: 280px;
block-size: 80px;
border: 10px solid purple;
}
.flexbox {
display: flex;
inline-size: 110px;
block-size: 50px;
border: 10px solid black;
}
.item {
flex: 1;
border: 10px solid teal;
}
.grandchild {
border: 10px solid orange;
block-size: 120px;
}
</style>
<div class="multicol">
<div class="flexbox">
<div class="item">
<div class="grandchild"></div>
</div>
</div>
</div>
</html>