Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-color/composited-filters-under-opacity.html - WPT Dashboard Interop Dashboard
<link rel="match" href="composited-filters-under-opacity-ref.html">
<style>
div {
position: absolute;
will-change: opacity;
}
.content {
width: 100px;
height: 150px;
position: absolute;
background: yellow;
filter: invert(100%);
}
</style>
Below should be a light blue square in uniform color.
<div style="opacity: 0.5">
<div class="content" style="left: 0"></div>
<div class="content" style="left: 50px"></div>
</div>