summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/shadow-ordering-ref.yaml
blob: cc0b378cb0dc7ca403de20ff8133aef4aafd6c7c (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
--- # checks that decorations on "real" content and "shadow" content are on seperate, atomic, layers
root:
  items:
        -
          type: "shadow"
          bounds: [44, 42, 205, 35]
          blur-radius: 1.0
          offset: [30, 24]
          color: blue
        -
          type: line
          baseline: 45
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          bounds: [14, 18, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
          size: 18
          color: [0,0,0,0] # transparent
          font: "VeraBd.ttf"
        -
          type: line
          baseline: 32
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          type: "pop-all-shadows"

        -
          type: "shadow"
          bounds: [34, 34, 205, 35]
          blur-radius: 0.0          # no blur to tigger fast shadows
          offset: [20, 16]
          color: green
        -
          type: line
          baseline: 45
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          bounds: [14, 18, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
          size: 18
          color: [0,0,0,0] # transparent
          font: "VeraBd.ttf"
        -
          type: line
          baseline: 32
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          type: "pop-all-shadows"

        -
          type: "shadow"
          bounds: [24, 26, 205, 35]
          blur-radius: 1.0
          offset: [10, 8]
          color: black
        -
          type: line
          baseline: 45
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          bounds: [14, 18, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
          size: 18
          color: [0,0,0,0] # transparent
          font: "VeraBd.ttf"
        -
          type: line
          baseline: 32
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: [0,0,0,0] # transparent
          style: solid
        -
          type: "pop-all-shadows"

        # real text  
        -
          type: line
          baseline: 45
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: red
          style: solid
        -
          bounds: [14, 18, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
          size: 18
          color: red
          font: "VeraBd.ttf"
        -
          type: line
          baseline: 32
          start: 14
          end: 210
          width: 3
          orientation: horizontal
          color: red
          style: solid