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

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

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

<!DOCTYPE html>
<title>
    CSS Gap Decorations: Multicolumn gap decorations painted with nested fragmented multicol.
</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/">
<link rel="match" href="multicol-gap-decorations-006-ref.html">
<link rel="author" title="Javier Contreras" href="mailto:javiercon@microsoft.com">
<style>
    .outer-container {
        columns: 3;
        column-fill: auto;
        height: 100px;
        width: 620px;
        gap: 10px;
        background: yellow;
    }

    .nested-container {
        columns: 2;
        box-decoration-break: clone;
        padding: 10px;
        column-rule: solid;
        column-rule-color: green;
        column-rule-width: 1px;
        background: cyan;
        gap: 10px;
    }

    .inner-column {
        height: 250px;
        background: hotpink;
    }
</style>
<div class="outer-container">
    <div class="nested-container">
        <div class="inner-column"></div>
    </div>
</div>

/css/css-gaps/multicol/multicol-gap-decorations-006-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>
    .outer-container {
        position: relative;
        columns: 3;
        column-fill: auto;
        height: 100px;
        width: 620px;
        gap: 10px;
        background: yellow;
    }

    .nested-container {
        columns: 2;
        box-decoration-break: clone;
        padding: 10px;
        gap: 10px;
        background: cyan;
    }

    .inner-column {
        height: 250px;
        background: hotpink;
    }

    #col-gap1 {
        position: absolute;
        height: 80px;
        width: 1px;
        background: green;
        top: 10px;
        left: 100px;
    }

    #col-gap2 {
        position: absolute;
        width: 1px;
        background: green;
        top: 10px;
        left: 310px;
        height: 45px;
    }
</style>
<div class="outer-container">
    <div class="nested-container">
        <div class="inner-column"></div>
    </div>
    <div id="col-gap1"></div>
    <div id="col-gap2"></div>
</div>