summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/text-fixed-slice.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/text/text-fixed-slice.yaml')
-rw-r--r--gfx/wr/wrench/reftests/text/text-fixed-slice.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/text-fixed-slice.yaml b/gfx/wr/wrench/reftests/text/text-fixed-slice.yaml
new file mode 100644
index 0000000000..9ee4dfcc56
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/text-fixed-slice.yaml
@@ -0,0 +1,27 @@
+# Verify that the option to configure performance / quality settings for
+# subpixel AA with picture caching is respected.
+root:
+ items:
+ - type: scroll-frame
+ bounds: [0, 0, 500, 200]
+ content-size: [500, 500]
+ clip-to-frame: true
+ id: 2
+ items:
+ - type: rect
+ bounds: [0, 0, 500, 200]
+ color: white
+ clip-chain: [2]
+ - type: clip
+ id: 3
+ bounds: [0, 0, 500, 200]
+ - type: rect
+ bounds: [0, 0, 500, 200]
+ color: white
+ clip-chain: [3]
+ - text: "The sun has frightened off the night!"
+ origin: 20 40
+ size: 20
+ font: "FreeSans.ttf"
+ spatial-id: 2
+ clip-chain: [2]