diff options
Diffstat (limited to 'gfx/wr/wrench/reftests/text/text-masking.yaml')
-rw-r--r-- | gfx/wr/wrench/reftests/text/text-masking.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/text-masking.yaml b/gfx/wr/wrench/reftests/text/text-masking.yaml new file mode 100644 index 0000000000..b40d391396 --- /dev/null +++ b/gfx/wr/wrench/reftests/text/text-masking.yaml @@ -0,0 +1,27 @@ +--- +root: + items: + - bounds: [0, 0, 750, 100] + "clip-rect": [0, 0, 750, 100] + type: rect + color: [180, 180, 180] + - bounds: [0, 0, 750, 100] + "clip-rect": [0, 0, 750, 100] + type: clip + id: 2 + "content-size": [750, 100] + "image-mask": + image: "text-masking-mask.png" + rect: [0, 0, 750, 100] + repeat: false + - text: "Cats making all the muffins knock over christmas tree" + origin: 40 40 + size: 20 + "clip-and-scroll": 2 + font: "FreeSans.ttf" + - text: "Cats making all the muffins knock over christmas tree" + origin: 40 80 + size: 20 + color: white + "clip-and-scroll": 2 + font: "FreeSans.ttf" |