summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/subpx-bg-mask.yaml
blob: 4d375d388497445cd642840b9041875de255f423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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]