summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/mix-blend-layers-ref.yaml
blob: 0d9f6b88642c5c343543338ad62f507d4f892fa2 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
root:
  items:
    - type: stacking-context
      bounds: [100, 100, 0, 0]
      blend-container: true
      items:
        - type: "shadow"
          blur-radius: 0
          offset: [-10, -4]
          color: [255, 255, 0, 1]
        - text: "Fault"
          origin: 200 300
          size: 200
          color: [0, 0, 0, 0]
          font: "VeraBd.ttf"
        -
          type: "pop-all-shadows"

        - type: stacking-context
          blend-container: true
          mix-blend-mode: darken
          items:
            - type: "shadow"
              blur-radius: 0
              offset: [6, -8]
              color: [0, 255, 255, 1]
            - text: "Fault"
              origin: 200 300
              size: 200
              color: [0, 0, 0, 0]
              font: "VeraBd.ttf"
            -
              type: "pop-all-shadows"

            - type: stacking-context
              blend-container: true
              mix-blend-mode: darken
              items:
                - type: "shadow"
                  blur-radius: 0
                  offset: [10, 4]
                  color: [255, 0, 255, 1]
                - text: "Fault"
                  origin: 200 300
                  size: 200
                  color: [0, 0, 0, 0]
                  font: "VeraBd.ttf"
                -
                  type: "pop-all-shadows"