31 lines
880 B
YAML
31 lines
880 B
YAML
# Test that a backdrop which has both a shared clip (on the tile cache) and is also scrolled
|
|
# correctly calculates the available backdrop rect for a mix-blend on a child.
|
|
---
|
|
root:
|
|
items:
|
|
-
|
|
bounds: [0, 0, 128, 128]
|
|
type: clip
|
|
id: 2
|
|
- type: clip-chain
|
|
id: 12
|
|
clips: [2]
|
|
- type: stacking-context
|
|
blend-container: true
|
|
items:
|
|
- type: scroll-frame
|
|
bounds: 0 0 128 512
|
|
scroll-offset: [0, 128]
|
|
id: 3
|
|
items:
|
|
- type: rect
|
|
bounds: [0, 0, 128, 512]
|
|
color: magenta
|
|
spatial-id: 3
|
|
clip-chain: 12
|
|
- type: stacking-context
|
|
mix-blend-mode: lighten
|
|
clip-chain: 12
|
|
items:
|
|
- image: checkerboard(0, 16, 16, 8, 16)
|
|
bounds: [0, 0, 128, 256]
|