wpt / css / css-gaps / flex / flex-gap-decorations-007.html

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

/css/css-gaps/flex/flex-gap-decorations-007.html

<!DOCTYPE html>
<title>
    CSS Gap Decorations: flex column and row gaps are painted align-items.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="flex-gap-decorations-007-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
    body {
        margin: 0px;
    }

    #flexbox>* {
        background-color: rgb(96 139 168 / 0.2);
    }

    #flexbox {
        border: 2px solid rgb(96 139 168);
        border-width: 2px;
        display: flex;
        column-gap: 10px;
        column-rule-style: solid;
        column-rule-width: 10px;
        column-rule-color: red;
        width: 170px;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .items {
        width: 50px;
    }

    #three {
        height: 40px;
    }
</style>

<div id="flexbox">
    <div class="items">One</div>
    <div class="items">Two</div>
    <div class="items" id="three">Three</div>
</div>

/css/css-gaps/flex/flex-gap-decorations-007-ref.html

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
    body {
        margin: 0px;
    }

    #flexbox>* {
        background-color: rgb(96 139 168 / 0.2);
    }

    #flexbox {
        border: 2px solid rgb(96 139 168);
        border-width: 2px;
        display: flex;
        column-gap: 10px;
        width: 170px;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .items {
        width: 50px;
    }

    .column-gap {
        background-color: red;
        margin: 0px;
        padding: 0px;
        height: 10px;
        width: 10px;
        position: absolute;
        top:2px;
        height: 40px;
    }

    #three {
        height: 40px;
    }
</style>

<div id="flexbox">
    <div class="items">One</div>
    <div class="items">Two</div>
    <div class="items" id="three">Three</div>
</div>

<div id="column1" class="column-gap" style="left: 52px;"></div>
<div id="column2" class="column-gap" style="left: 112px;"></div>