wpt / css / css-gaps / multicol / multicol-gap-decorations-024.html

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

/css/css-gaps/multicol/multicol-gap-decorations-024.html

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

    .container {
        width: 200px;
        height: 150px;
        column-count: 3;
        column-width: 60px;
        column-height: 70px;
        column-gap: 10px;
        row-gap: 10px;
        column-rule: 10px solid blue;
        row-rule: 10px solid gold;
        column-wrap: wrap;
    }

    .items {
        background: rgb(96 139 168 / 0.2);
        height: 70px;
        width: 60px;
        margin: 0px;
        writing-mode: vertical-rl;
    }
</style>

<div class="container">
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
</div>

/css/css-gaps/multicol/multicol-gap-decorations-024-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;
    }

    .container {
        width: 200px;
        height: 150px;
        column-count: 3;
        column-width: 60px;
        column-height: 70px;
        column-gap: 10px;
        row-gap: 10px;
        column-wrap: wrap;
    }

    .items {
        background: rgb(96 139 168 / 0.2);
        height: 70px;
        width: 60px;
        margin: 0px;
        writing-mode: vertical-rl;
    }

    .col-rule {
        position: absolute;
        top: 0px;
        height: 150px;
        width: 10px;
        background: blue;
    }

    .row-rule {
        position: absolute;
        height: 10px;
        width: 200px;
        background: gold;
        left: 0px;
        top: 70px;
    }
</style>

<div class="col-rule" style="left: 60px;"></div>
<div class="col-rule" style="left: 130px;"></div>

<div class="row-rule"></div>

<div class="container">
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
</div>