blob: 577f4edebfb4d37baca854a5901c9aad78e23f40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Tests that mix-blend mode content renders correctly when in a scaled surface.
# See bug 1642549
---
root:
items:
- type: stacking-context
bounds: 0 0 0 0
# Force WebRender to form a raster root
transform: perspective(1000)
items:
- type: stacking-context
bounds: -50 -50 0 0
# The raster root will have a 2x scaling factor
transform: scale(2)
blend-container: true
items:
- rect: 0 0 100 100
color: green
- type: stacking-context
mix-blend-mode: multiply
items:
- rect: 0 0 100 100
color: white
|