<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Forms a containing block for fixed/absolute</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="match"  href="backdrop-filter-containing-block-ref.html">

<p>Expected: one green square and one red square, both 200px by 200px.</p>
<div class="container">
  <div class="fixed-child"></div>
  <div class="absolute-child"></div>
</div>

<style>
.container {
  width: 200px;
  backdrop-filter: invert(1);
}

.fixed-child {
  position: fixed;
  top: 0;
  background-color: green;
  width: 100%;
  height: 200px;
}

.absolute-child {
  position: absolute;
  top: 0;
  left: 210px;
  background-color: red;
  width: 100%;
  height: 200px;
}
</style>

