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

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

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

<!DOCTYPE html>
<title>
    CSS Gap Decorations: multicol gap decorations extend to meet cross-direction
    decoration width at far edge with rule-inset: overlap-join and column-wrap.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="multicol-gap-decorations-033-ref.html">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<style>
    body {
        margin: 0px;
    }

    .container {
        border: 2px solid rgb(96 139 168);
        width: 200px;
        height: 130px;
        column-count: 3;
        column-width: 60px;
        column-height: 60px;
        column-gap: 10px;
        row-gap: 10px;
        column-rule-width: 10px;
        column-rule-style: solid;
        column-rule-color: rgba(0,0,255, 0.5);
        column-rule-break: intersection;
        column-rule-inset: overlap-join;

        row-rule-width: 10px;
        row-rule-style: solid;
        row-rule-color: rgba(255, 0, 0, 0.5);
        row-rule-break: intersection;
        column-wrap: wrap;

        row-rule-inset: overlap-join;
    }

    p {
        background: rgb(96 139 168 / 0.2);
        height: 60px;
        margin: 0px;
    }
</style>

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

/css/css-gaps/multicol/multicol-gap-decorations-033-ref.html

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

    .container {
        border: 2px solid rgb(96 139 168);
        width: 200px;
        height: 130px;
        column-gap: 10px;
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .items {
        background: rgb(96 139 168 / 0.2);
        height: 60px;
        margin: 0px;
        width: 60px;
    }

    .row-gap {
        position: absolute;
        height: 10px;
        width: 60px;
        background: rgba(255, 0, 0, 0.5);
        left: 2px;
        top: 62px;
    }

    .column-gap {
        position: absolute;
        height: 130px;
        width: 10px;
        background: rgba(0,0,255, 0.5);
        top: 2px;
    }
</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>

<div class="column-gap" style="left:62px; height:70px;"></div>
<div class="column-gap" style="left:62px; top: 62px; height:70px;"></div>

<div class="column-gap" style="left:132px; height:70px;"></div>
<div class="column-gap" style="left:132px; top: 62px; height:70px;"></div>

<div class="row-gap" style="width: 70px;"></div>
<div class="row-gap" style="left: 72px; width: 60px;"></div>
<div class="row-gap" style="left: 132px; width: 70px;"></div>