summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/perspective-clip.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/wr/wrench/reftests/text/perspective-clip.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/perspective-clip.yaml b/gfx/wr/wrench/reftests/text/perspective-clip.yaml
new file mode 100644
index 0000000000..1fdf50f529
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/perspective-clip.yaml
@@ -0,0 +1,27 @@
+---
+root:
+ items:
+ -
+ type: stacking-context
+ perspective: 1
+ perspective-origin: 0 0
+ items:
+ -
+ type: stacking-context
+ transform: 10 0 0 0 0 10 0 0 0 0 10 0 0 0 -9 1
+ items:
+ - type: clip
+ bounds: [50, 50, 200, 200]
+ complex:
+ - rect: [50, 50, 200, 200]
+ radius: 8
+ items:
+ -
+ type: rect
+ bounds: [50, 50, 200, 200]
+ color: green
+ -
+ text: "X"
+ origin: 100 150
+ size: 100
+ font: "Ahem.ttf"