summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html')
-rw-r--r--testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html b/testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html
new file mode 100644
index 0000000000..f613748af3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/composited-filters-under-opacity.html
@@ -0,0 +1,20 @@
+<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency">
+<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>