blob: 9e807fd5f963aeab3951cce4cee5e378a5c9823e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# The test assures that the viewport offset is correctly getting
# the reference_frame_relative_offset applied when flattening
# a scroll frame.
---
root:
items:
- type: stacking-context
bounds: 0 100 0 0
items:
- type: scroll-frame
bounds: 0 0 1000 1000
items:
- type: sticky-frame
bounds: 0 -50 1000 50
margin-top: -50
vertical-offset-bounds: [0, 2000]
items:
- type: rect
bounds: 0 -50 1000 100
color: red
|