summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/bg-color.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/text/bg-color.yaml')
-rw-r--r--gfx/wr/wrench/reftests/text/bg-color.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/bg-color.yaml b/gfx/wr/wrench/reftests/text/bg-color.yaml
new file mode 100644
index 0000000000..14f53d79be
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/bg-color.yaml
@@ -0,0 +1,15 @@
+# verify that drawing a text run on an off-screen surface with a
+# specified background color gives the same result as drawing a
+# subpixel text run directly on the background.
+---
+root:
+ items:
+ - type: stacking-context
+ transform-style: preserve-3d
+ items:
+ - text: "A"
+ origin: 30 220
+ size: 200
+ color: black
+ font: "FreeSans.ttf"
+ bg-color: white