wpt / css / css-break / flexbox / multi-line-column-flex-fragmentation-060.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-break/flexbox/multi-line-column-flex-fragmentation-060.html

<!DOCTYPE html>
<title>
    Suppress column flexbox gaps: row gaps (including any additional space from content distribution)
    if it's split across fragmentainer breaks or is the last content before a break.
    Tests justify-content: space-around.
</title>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/11520">
<link rel="match" href="multi-line-column-flex-fragmentation-060-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
     .multi-column {
        columns: 2;
        height: 60px;
        column-width: 60px;
        width: 130px;
        gap: 10px;
    }

    body {
        margin: 0px;
    }

    #flexbox {
        border: 2px solid rgb(96 139 168);
        width: 60px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 110px;
        justify-content: space-around;
    }

    .item {
        width: 60px;
        height: 25px;
        background-color: #007bff;
        color: white;
    }
</style>
<div class="multi-column">
<div id="flexbox">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
</div>
</div>

/css/css-break/flexbox/multi-line-column-flex-fragmentation-060-ref.html

<!DOCTYPE html>
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
     .multi-column {
        columns: 2;
        height: 60px;
        column-width: 60px;
        width: 130px;
        gap: 10px;
    }

    body {
        margin: 0px;
    }

    #flexbox {
        border: 2px solid rgb(96 139 168);
        width: 60px;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 110px;
        justify-content: space-around;
    }

    .item {
        width: 60px;
        height: 25px;
        background-color: red;
        color: white;

        opacity: 0;
    }

    .mock-item {
        width: 60px;
        height: 25px;
        background-color: #007bff;
        position: absolute;
    }
</style>
<div class="multi-column">
<div class="mock-item" style="top: 3px; left: 2px;"></div>
<div class="mock-item" style="top: 0px; left: 72px;"></div>
<div class="mock-item" style="top: 31px; left: 2px;"></div>
<div class="mock-item" style="top: 28px; left: 72px;"></div>
<div id="flexbox">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
</div>
</div>