summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/scrolling/nested-stickys.yaml
blob: 2082bb257687af7e7d8b025926d0da051f268cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
root:
  items:
    - type: scroll-frame
      bounds: [10, 10, 50, 50]
      content-size: [200, 200]
      scroll-offset: [0, 30]
      items:
      - type: sticky-frame
        bounds: [10, 30, 50, 50]
        margin-top: 5
        vertical-offset-bounds: [0, 500]
        items:
        - type: sticky-frame
          bounds: [10, 30, 50, 50]
          margin-top: 10
          vertical-offset-bounds: [0, 500]
          items:
          - type: rect
            bounds: [10, 30, 50, 50]
            color: green