| 1 |
/* Test cases where the source is clipped off but the mask isn't */ |
| 2 |
color { |
| 3 |
color: #000; |
| 4 |
bounds: -10 -10 910 310; |
| 5 |
} |
| 6 |
|
| 7 |
opacity { |
| 8 |
opacity: 1.0; |
| 9 |
child: container { |
| 10 |
|
| 11 |
color { |
| 12 |
color: #F0C00080; |
| 13 |
bounds: 0 0 100 100; |
| 14 |
} |
| 15 |
border { |
| 16 |
colors: #F0C000; |
| 17 |
widths: 15; |
| 18 |
outline: 0 0 100 100; |
| 19 |
} |
| 20 |
clip { |
| 21 |
clip: 0 0 100 40; |
| 22 |
child: composite { |
| 23 |
child: color { |
| 24 |
color: #00C0F080; |
| 25 |
bounds: 40 40 100 100; |
| 26 |
} |
| 27 |
mask: color { |
| 28 |
color: #FFF; |
| 29 |
bounds: 0 0 140 140; |
| 30 |
} |
| 31 |
operator: source; |
| 32 |
} |
| 33 |
} |
| 34 |
|
| 35 |
color { |
| 36 |
color: #F0C00080; |
| 37 |
bounds: 0 150 100 100; |
| 38 |
} |
| 39 |
border { |
| 40 |
colors: #F0C000; |
| 41 |
widths: 15; |
| 42 |
outline: 0 150 100 100; |
| 43 |
} |
| 44 |
clip { |
| 45 |
clip: 0 150 100 40; |
| 46 |
child: composite { |
| 47 |
child: color { |
| 48 |
color: #00C0F080; |
| 49 |
bounds: 40 190 100 100; |
| 50 |
} |
| 51 |
mask: color { |
| 52 |
color: #FFF; |
| 53 |
bounds: 0 150 140 140; |
| 54 |
} |
| 55 |
operator: dest; |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
color { |
| 60 |
color: #F0C00080; |
| 61 |
bounds: 150 0 100 100; |
| 62 |
} |
| 63 |
border { |
| 64 |
colors: #F0C000; |
| 65 |
widths: 15; |
| 66 |
outline: 150 0 100 100; |
| 67 |
} |
| 68 |
clip { |
| 69 |
clip: 150 0 100 40; |
| 70 |
child: composite { |
| 71 |
child: color { |
| 72 |
color: #00C0F080; |
| 73 |
bounds: 190 40 100 100; |
| 74 |
} |
| 75 |
mask: color { |
| 76 |
color: #FFF; |
| 77 |
bounds: 150 0 140 140; |
| 78 |
} |
| 79 |
operator: source-over-dest; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
color { |
| 84 |
color: #F0C00080; |
| 85 |
bounds: 150 150 100 100; |
| 86 |
} |
| 87 |
border { |
| 88 |
colors: #F0C000; |
| 89 |
widths: 15; |
| 90 |
outline: 150 150 100 100; |
| 91 |
} |
| 92 |
clip { |
| 93 |
clip: 150 150 100 40; |
| 94 |
child: composite { |
| 95 |
child: color { |
| 96 |
color: #00C0F080; |
| 97 |
bounds: 190 190 100 100; |
| 98 |
} |
| 99 |
mask: color { |
| 100 |
color: #FFF; |
| 101 |
bounds: 150 150 140 140; |
| 102 |
} |
| 103 |
operator: dest-over-source; |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
color { |
| 108 |
color: #F0C00080; |
| 109 |
bounds: 300 0 100 100; |
| 110 |
} |
| 111 |
border { |
| 112 |
colors: #F0C000; |
| 113 |
widths: 15; |
| 114 |
outline: 300 0 100 100; |
| 115 |
} |
| 116 |
clip { |
| 117 |
clip: 300 0 100 40; |
| 118 |
child: composite { |
| 119 |
child: color { |
| 120 |
color: #00C0F080; |
| 121 |
bounds: 340 40 100 100; |
| 122 |
} |
| 123 |
mask: color { |
| 124 |
color: #FFF; |
| 125 |
bounds: 300 0 140 140; |
| 126 |
} |
| 127 |
operator: source-in-dest; |
| 128 |
} |
| 129 |
} |
| 130 |
|
| 131 |
color { |
| 132 |
color: #F0C00080; |
| 133 |
bounds: 300 150 100 100; |
| 134 |
} |
| 135 |
border { |
| 136 |
colors: #F0C000; |
| 137 |
widths: 15; |
| 138 |
outline: 300 150 100 100; |
| 139 |
} |
| 140 |
clip { |
| 141 |
clip: 300 150 100 40; |
| 142 |
child: composite { |
| 143 |
child: color { |
| 144 |
color: #00C0F080; |
| 145 |
bounds: 340 190 100 100; |
| 146 |
} |
| 147 |
mask: color { |
| 148 |
color: #FFF; |
| 149 |
bounds: 300 150 140 140; |
| 150 |
} |
| 151 |
operator: dest-in-source; |
| 152 |
} |
| 153 |
} |
| 154 |
|
| 155 |
color { |
| 156 |
color: #F0C00080; |
| 157 |
bounds: 450 0 100 100; |
| 158 |
} |
| 159 |
border { |
| 160 |
colors: #F0C000; |
| 161 |
widths: 15; |
| 162 |
outline: 450 0 100 100; |
| 163 |
} |
| 164 |
clip { |
| 165 |
clip: 450 0 100 40; |
| 166 |
child: composite { |
| 167 |
child: color { |
| 168 |
color: #00C0F080; |
| 169 |
bounds: 490 40 100 100; |
| 170 |
} |
| 171 |
mask: color { |
| 172 |
color: #FFF; |
| 173 |
bounds: 450 0 140 140; |
| 174 |
} |
| 175 |
operator: source-out-dest; |
| 176 |
} |
| 177 |
} |
| 178 |
|
| 179 |
color { |
| 180 |
color: #F0C00080; |
| 181 |
bounds: 450 150 100 100; |
| 182 |
} |
| 183 |
border { |
| 184 |
colors: #F0C000; |
| 185 |
widths: 15; |
| 186 |
outline: 450 150 100 100; |
| 187 |
} |
| 188 |
clip { |
| 189 |
clip: 450 150 100 40; |
| 190 |
child: composite { |
| 191 |
child: color { |
| 192 |
color: #00C0F080; |
| 193 |
bounds: 490 190 100 100; |
| 194 |
} |
| 195 |
mask: color { |
| 196 |
color: #FFF; |
| 197 |
bounds: 450 150 140 140; |
| 198 |
} |
| 199 |
operator: dest-out-source; |
| 200 |
} |
| 201 |
} |
| 202 |
|
| 203 |
color { |
| 204 |
color: #F0C00080; |
| 205 |
bounds: 600 0 100 100; |
| 206 |
} |
| 207 |
border { |
| 208 |
colors: #F0C000; |
| 209 |
widths: 15; |
| 210 |
outline: 600 0 100 100; |
| 211 |
} |
| 212 |
clip { |
| 213 |
clip: 600 0 100 40; |
| 214 |
child: composite { |
| 215 |
child: color { |
| 216 |
color: #00C0F080; |
| 217 |
bounds: 640 40 100 100; |
| 218 |
} |
| 219 |
mask: color { |
| 220 |
color: #FFF; |
| 221 |
bounds: 600 0 140 140; |
| 222 |
} |
| 223 |
operator: source-atop-dest; |
| 224 |
} |
| 225 |
} |
| 226 |
|
| 227 |
color { |
| 228 |
color: #F0C00080; |
| 229 |
bounds: 600 150 100 100; |
| 230 |
} |
| 231 |
border { |
| 232 |
colors: #F0C000; |
| 233 |
widths: 15; |
| 234 |
outline: 600 150 100 100; |
| 235 |
} |
| 236 |
clip { |
| 237 |
clip: 600 150 100 40; |
| 238 |
child: composite { |
| 239 |
child: color { |
| 240 |
color: #00C0F080; |
| 241 |
bounds: 640 190 100 100; |
| 242 |
} |
| 243 |
mask: color { |
| 244 |
color: #FFF; |
| 245 |
bounds: 600 150 140 140; |
| 246 |
} |
| 247 |
operator: dest-atop-source; |
| 248 |
} |
| 249 |
} |
| 250 |
|
| 251 |
color { |
| 252 |
color: #F0C00080; |
| 253 |
bounds: 750 0 100 100; |
| 254 |
} |
| 255 |
border { |
| 256 |
colors: #F0C000; |
| 257 |
widths: 15; |
| 258 |
outline: 750 0 100 100; |
| 259 |
} |
| 260 |
clip { |
| 261 |
clip: 750 0 100 40; |
| 262 |
child: composite { |
| 263 |
child: color { |
| 264 |
color: #00C0F080; |
| 265 |
bounds: 790 40 100 100; |
| 266 |
} |
| 267 |
mask: color { |
| 268 |
color: #FFF; |
| 269 |
bounds: 750 0 140 140; |
| 270 |
} |
| 271 |
operator: xor; |
| 272 |
} |
| 273 |
} |
| 274 |
|
| 275 |
color { |
| 276 |
color: #F0C00080; |
| 277 |
bounds: 750 150 100 100; |
| 278 |
} |
| 279 |
border { |
| 280 |
colors: #F0C000; |
| 281 |
widths: 15; |
| 282 |
outline: 750 150 100 100; |
| 283 |
} |
| 284 |
clip { |
| 285 |
clip: 750 150 100 40; |
| 286 |
child: composite { |
| 287 |
child: color { |
| 288 |
color: #00C0F080; |
| 289 |
bounds: 790 190 100 100; |
| 290 |
} |
| 291 |
mask: color { |
| 292 |
color: #FFF; |
| 293 |
bounds: 750 150 140 140; |
| 294 |
} |
| 295 |
operator: clear; |
| 296 |
} |
| 297 |
} |
| 298 |
|
| 299 |
} |
| 300 |
} |