summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml')
-rw-r--r--gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml b/gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml
new file mode 100644
index 0000000000..74753c2f2d
--- /dev/null
+++ b/gfx/wr/wrench/reftests/blend/backdrop-filter-preceding.yaml
@@ -0,0 +1,24 @@
+# verify that content preceding a root level mix-blend container is still
+# available as part of the backdrop root for subsequent backdrop-filters
+---
+root:
+ items:
+ - type: rect
+ bounds: 0 0 100 100
+ color: red
+ - type: stacking-context
+ blend-container: true
+ items:
+ - type: rect
+ bounds: 100 0 100 100
+ color: green
+ - type: stacking-context
+ bounds: 100 0 100 100
+ mix-blend-mode: multiply
+ items:
+ - type: rect
+ bounds: 0 0 100 100
+ color: green
+ - type: backdrop-filter
+ bounds: 0 0 200 100
+ filters: invert(1)