blob: e41772578e5d2ccea955bb9f65cfa77771a36027 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>backdrop-filter: Should not filter outside parent stacking context.</title>
<link rel="author" title="Mason Freed" href="mailto:masonfreed@chromium.org">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty">
<link rel="match" href="backdrop-filter-isolation-ref.html">
<div class="outside">
<div class="stacking-context">
<div class="filter">
</div>
</div>
</div>
<style>
div {
position: absolute;
width: 100px;
height: 100px;
background: green;
}
.outside {
top: 10px;
left: 10px;
}
.stacking-context {
opacity: 0.9999;
top: 0px;
left: 120px;
}
.filter {
width: 160px;
height: 160px;
top: 30px;
left: -90px;
opacity: 0.3;
backdrop-filter: invert(1);
background: yellow;
}
</style>