diff options
Diffstat (limited to '')
-rw-r--r-- | gfx/wr/wrench/reftests/text/perspective-clip.yaml | 28 |
1 files changed, 28 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..0fab8b3bf6 --- /dev/null +++ b/gfx/wr/wrench/reftests/text/perspective-clip.yaml @@ -0,0 +1,28 @@ +--- +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 + id: 2 + complex: + - rect: [50, 50, 200, 200] + radius: 8 + - + type: rect + bounds: [50, 50, 200, 200] + color: green + clip-chain: [2] + - + text: "X" + origin: 100 150 + size: 100 + font: "Ahem.ttf" + clip-chain: [2] |