summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml')
-rw-r--r--gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml b/gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml
new file mode 100644
index 0000000000..50fb8facd4
--- /dev/null
+++ b/gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml
@@ -0,0 +1,32 @@
+---
+root:
+ items:
+ - type: clip
+ id: 2
+ bounds: [0, 0, 100, 100]
+ complex:
+ - rect: [0, 0, 100, 100]
+ radius: {
+ top-left: 50,
+ top-right: 50,
+ bottom-left: 50,
+ bottom-right: 50,
+ }
+ - type: stacking-context
+ bounds: [0, 0, 100, 100]
+ items:
+ - type: rect
+ bounds: [ 0, 0, 100, 100 ]
+ color: [0, 255, 0]
+ clip-and-scroll: 2
+ - type: clip
+ id: 3
+ bounds: [120, 0, 50, 50]
+ - type: stacking-context
+ bounds: [100, 0, 100, 100]
+ filters: hue-rotate(90)
+ items:
+ - type: rect
+ bounds: [ 0, 0, 100, 100 ]
+ color: [0, 255, 0]
+ clip-and-scroll: 3