1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Test that we don't select a nested scroll frame as a scroll root and include
# primitives that are positioned by ancestors of that scroll root, when creating
# a tile cache for a blend container. This test will cause a panic in
# `get_relative_transform_with_face` otherwise.
---
root:
items:
- type: stacking-context
blend-container: true
items:
- type: scroll-frame
bounds: [0, 0, 200, 200]
content-size: [200, 400]
items:
- type: stacking-context
bounds: [0, 0, 200, 200]
transform: rotate(45)
items:
- type: rect
bounds: [0, 0, 200, 200]
color: red
- type: scroll-frame
bounds: [200, 0, 400, 200]
content-size: [400, 200]
items:
- type: scroll-frame
bounds: [200, 0, 400, 200]
content-size: [400, 400]
items:
- type: rect
bounds: [200, 0, 100, 200]
color: green
backface-visible: true
- type: rect
bounds: [300, 0, 100, 200]
color: blue
backface-visible: false
|