summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/scrolling/scale-offsets.yaml
blob: b4a93b8c6268b27242b649db0dce9cf66d95145c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
          id: 2
          bounds: [100, 100, 100, 100]
          content-size: [260, 260]
          scroll-offset: [0, 60]
          clip-to-frame: true
          items:
            - type: rect
              color: green
              bounds: [100, 100, 260, 260]
              clip-chain: [2]