summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml')
-rw-r--r--gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml b/gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml
new file mode 100644
index 0000000000..43b68f1787
--- /dev/null
+++ b/gfx/wr/wrench/reftests/tiles/mix-blend-clip.yaml
@@ -0,0 +1,31 @@
+# Test that a backdrop which has both a shared clip (on the tile cache) and is also scrolled
+# correctly calculates the available backdrop rect for a mix-blend on a child.
+---
+root:
+ items:
+ -
+ bounds: [0, 0, 128, 128]
+ type: clip
+ id: 2
+ - type: clip-chain
+ id: 12
+ clips: [2]
+ - type: stacking-context
+ blend-container: true
+ items:
+ - type: scroll-frame
+ bounds: 0 0 128 512
+ scroll-offset: [0, 128]
+ id: 3
+ items:
+ - type: rect
+ bounds: [0, 0, 128, 512]
+ color: magenta
+ spatial-id: 3
+ clip-chain: 12
+ - type: stacking-context
+ mix-blend-mode: lighten
+ clip-chain: 12
+ items:
+ - image: checkerboard(0, 16, 16, 8, 16)
+ bounds: [0, 0, 128, 256]