wpt / css / css-gaps / flex / flex-gap-decorations-017.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-017.html

<!DOCTYPE html>
<title>
    CSS Gap Decorations: row-rule-style inset should paint as ridge.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-row-rule-style">
<link rel="match" href="flex-gap-decorations-017-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
    body {
        margin: 0px;
    }

    #flexbox {
        border: 2px solid rgb(96 139 168);
        display: flex;
        row-gap: 20px;
        width: 50px;
        height: 190px;
        flex-wrap: wrap;
        flex-direction: column;
        row-rule-color: red;
        row-rule-width: 20px;
        row-rule-style: inset;
    }

    .items {
        background-color: rgb(96 139 168 / 0.2);
        flex-shrink: 1;
        width: 50px;
        height: 50px;
    }

</style>

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

/css/css-gaps/flex/flex-gap-decorations-017-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 {
        border: 2px solid rgb(96 139 168);
        display: flex;
        row-gap: 20px;
        width: 50px;
        height: 190px;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .items {
        background-color: rgb(96 139 168 / 0.2);
        flex-shrink: 1;
        width: 50px;
        height: 50px;
    }

    .row-rule {
        margin: 0px;
        padding: 0px;
        height: 0px;
        width: 50px;
        border-bottom: 20px ridge red;
        position: absolute;
        left: 2px;
    }
</style>

<div id="flexbox">
    <div class="items">One</div>
    <div class="items">Two</div>
    <div class="items">Three</div>
</div>
<div class="row-rule" style="top: 52px;"></div>
<div class="row-rule" style="top: 122px;"></div>