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

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

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

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

    .container {
        border: 2px solid rgb(96 139 168);
        width: 210px;
        height: 130px;
        column-count: 3;
        column-width: 56.666px;
        column-height: 60px;
        column-gap: 20px;
        row-gap: 10px;
        column-rule-width: 20px;
        column-rule-style: solid;
        column-rule-color: blue;
        row-rule-width: 10px;
        row-rule-style: solid;
        row-rule-color: gold;
        column-wrap: wrap;

        row-rule-break: intersection;
        rule-inset: 0;
    }

    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-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;
    }

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

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

    .row-gap {
        position: absolute;
        display: flex;
        height: 10px;
        width: 210px;
        left: 2px;
        top: 62px;
        gap: 20px;
    }

    .row-item {
      height: 10px;
      background: gold;
      width: 60px;
    }

    .column-gap {
        position: absolute;
        height: 60px;
        width: 20px;
        background: blue;
        top: 2px;
    }
</style>

<div class="container">
    <div class="items"></div>
    <div class="items"></div>
    <div class="items"></div>
</div>
<div class="column-gap" style="left:58.666px;"></div>
<div class="column-gap" style="left:135.332px;"></div>
<div class="column-gap" style="left:58.666px; top: 72px;"></div>
<div class="column-gap" style="left:135.332px; top: 72px;"></div>
<div class="row-gap">
  <div class="row-item"></div>
  <div class="row-item"></div>
  <div class="row-item"></div>
</div>