wpt / css / css-multicol / relative-child-overflowing-column-gap.html

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

/css/css-multicol/relative-child-overflowing-column-gap.html

<!DOCTYPE html>
<title>Relative child can overflow onto the column gap area</title>
<link rel="help" href="https://drafts.csswg.org/css-multicol/">
<link rel="match" href="relative-child-overflowing-column-gap-ref.html">

<style>
body {
  margin: 0px;
}

.multicol {
  width: 200px;
  column-count: 2;
  column-gap: 50px;
}

.relative-layer {
  position: relative;
}

.child {
  width: 100px;
  height: 100px;
  background: green;
}
</style>
<div class="multicol">
  <div class="relative-layer">
    <div class="child"></div>
  </div>
</div>

/css/css-multicol/relative-child-overflowing-column-gap-ref.html

<!DOCTYPE html>
<title>Relative child can overflow onto the column gap area</title>
<style>
body {
  margin: 0px;
}

.child {
  width: 100px;
  height: 50px;
  background: green;
}

.child2 {
  width: 100px;
  height: 50px;
  background: green;
  position: absolute;
  left: 125px;
  top: 0px;
}
</style>
<div class="child"></div>
<div class="child2"></div>