summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml')
-rw-r--r--gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml b/gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml
new file mode 100644
index 0000000000..82668e28cc
--- /dev/null
+++ b/gfx/wr/wrench/reftests/transforms/perspective-clip-1.yaml
@@ -0,0 +1,30 @@
+---
+root:
+ items:
+ -
+ type: stacking-context
+ bounds: [0, 0, 0, 0]
+ perspective: [1, 0, 0, 0, 0, 1, 0, 0, -300, -250, 1, -0.5, 0, 0, 0, 1]
+ items:
+ -
+ bounds: [0, 0, 0, 0]
+ type: stacking-context
+ transform: [10, 0, 0, 0, 0, 10, 0, 0, 0, 0, 1, 0, -5382, -3222, -18, 1]
+ items:
+ -
+ bounds: [0, 0, 100, 100]
+ type: rect
+ color: red
+ - type: clip
+ id: 101
+ complex:
+ - rect: [0, 0, 100, 100]
+ radius: 16
+ - type: clip-chain
+ id: 201
+ clips: [101]
+ -
+ bounds: [0, 0, 100, 100]
+ type: rect
+ color: green
+ clip-chain: 201