diff options
Diffstat (limited to 'gfx/wr/wrench/reftests/clip/inverted-ellipse.yaml')
-rw-r--r-- | gfx/wr/wrench/reftests/clip/inverted-ellipse.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/clip/inverted-ellipse.yaml b/gfx/wr/wrench/reftests/clip/inverted-ellipse.yaml new file mode 100644 index 0000000000..7e98d88cee --- /dev/null +++ b/gfx/wr/wrench/reftests/clip/inverted-ellipse.yaml @@ -0,0 +1,15 @@ +# Ensure that nine-patch clip-mask rendering works correctly when +# the shape forms an ellipse where the ratio of the corner size +# is inverted from the ratio of the primitive size +--- +root: + items: + - type: clip + id: 3 + complex: + - rect: [50, 50, 225, 150] + radius: [112.5, 75] + - type: rect + bounds: 50 50 225 150 + color: red + clip-chain: [3] |