summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/white-opacity.yaml
blob: 0e16856c14185b382088acca2a8f02ace10362c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root:
  items:
    - type: stacking-context
      bounds: [10, 10, 1000, 100]
      items:
        - type: rect
          bounds: [0, 0, 720, 100]
          color: [211, 211, 211, 1]
        - type: stacking-context
          bounds: [0, 0, 500, 100]
          filters: [opacity(0.4)]
          items:
            - text: "Look, no white edges!!"
              origin: 20 50
              size: 40
              color: white
              font: "VeraBd.ttf"