Source code
Revision control
Copy as Markdown
Other Tools
# this tests that opacity combination respets pre-multiplied alpha
root:
items:
- type: stacking-context
bounds: [10, 10, 500, 500]
filters: [opacity(0.25)]
items:
- type: rect
bounds: [10, 10, 100, 100]
color: green