Source code

Revision control

Copy as Markdown

Other Tools

# this tests that opacity combination respects pre-multiplied alpha
root:
items:
- type: stacking-context
bounds: [10, 10, 500, 500]
filters: [opacity(0.50), opacity(0.50)]
items:
- type: rect
bounds: [10, 10, 100, 100]
color: green