Source code

Revision control

Copy as Markdown

Other Tools

# Ensure that we correctly calculate the UV sampling rect for the backdrop
# Similar to the mix-blend-mode-overflowing-child.html test in Gecko
---
root:
items:
- type: stacking-context
blend-container: true
items:
- type: rect
bounds: [0, 0, 100, 100]
color: green
- type: stacking-context
bounds: [50, 50, 100, 100]
mix-blend-mode: difference
items:
- type: rect
bounds: [0, 0, 100, 100]
color: green