summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml')
-rw-r--r--gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml b/gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml
new file mode 100644
index 0000000000..3792556ade
--- /dev/null
+++ b/gfx/wr/wrench/reftests/filters/backdrop-filter-on-child-surface.yaml
@@ -0,0 +1,14 @@
+# Tests that a basic invert backdrop-filter works on a child surface
+---
+root:
+ items:
+ - type: stacking-context
+ backdrop-root: true
+ filters: [identity]
+ items:
+ - type: rect
+ bounds: 0 0 256 256
+ color: red
+ - type: backdrop-filter
+ bounds: 0 0 256 256
+ filters: invert(1)