summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/scrolling/scale-offsets.yaml
blob: fe4cf741319b25f16a1dabb6d76ceb21464edd5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Test that a scroll-frame nested within a scale
# transform correctly calculates local offsets.
root:
  items:
    - type: stacking-context
      transform: scale(0.5)
      items:
        - type: scroll-frame
          bounds: [100, 100, 100, 100]
          content-size: [260, 260]
          scroll-offset: [0, 60]
          items:
            - type: rect
              color: green
              bounds: [100, 100, 260, 260]