summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml')
-rw-r--r--gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml b/gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml
new file mode 100644
index 0000000000..4d375d3884
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml
@@ -0,0 +1,28 @@
+# Verify that text on a picture cache slice where the background
+# has a rounded-rect clip correct enables subpixel AA
+---
+root:
+ items:
+ - type: rect
+ bounds: [0, 0, 100, 100]
+ color: white
+ - type: scroll-frame
+ bounds: [0, 0, 200, 200]
+ content-size: [200, 200]
+ scroll-offset: [0, 0]
+ items:
+ - type: clip
+ id: 2
+ complex:
+ - rect: [0, 0, 200, 200]
+ radius: 4
+ - type: rect
+ bounds: [0, 0, 200, 200]
+ color: white
+ clip-chain: [2]
+ - text: "A"
+ origin: 20 190
+ size: 180
+ color: black
+ font: "FreeSans.ttf"
+ clip-chain: [2]