summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/raster-root-scaling.yaml
blob: 3a592635a3d805e56c687f19356277f39c0979bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Tests that surfaces created by raster roots are scaled based on the surface to parent transform.
---
root:
  items:
    - type: stacking-context
      bounds: [0, 0, 0, 0]
      # Force WebRender to form a raster root
      transform: perspective(1000)
      items:
      - type: stacking-context
        bounds: [0, 0, 0, 0]
        transform-style: preserve-3d
        transform: scale(10,10)
        items:
          - image: checkerboard(2, 16, 16)
            bounds: [0, 0, 26, 26]