summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/perspective-surface-scale.yaml
blob: 6888f91c7eb781c71284cec3312e5a961a89e54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Verify that we select a reasonable scale factor for perspective surfaces that don't
# have a requested scale factor supplied by the caller (based on projected screen rect)
root:
  items:
    - type: "stacking-context"
      perspective: 1000
      transform-style: preserve-3d
      items:
        - type: "stacking-context"
          transform-origin: 175 175
          transform: rotate-x(-20) rotate-y(20)
          items:
          - image: checkerboard(2, 22, 16)
            bounds: [0, 0, 350, 350]