summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/snap/transform.yaml
blob: d1b0579eda3e15a9660fb253dcfe026ef88d4c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
root:
  items:
    # 45 degrees result in middle -+ 14.142, rounded to 14
    - type: stacking-context
      bounds: [0, 0, 60, 60]
      transform: rotate-y(45)
      items:
        - type: rect
          bounds: [ 10, 10, 40, 40 ]
          color: blue
    # 50 degrees result in middle -+ 12.856, rounded to 13
    - type: stacking-context
      bounds: [50, 0, 60, 60]
      transform: rotate-x(50)
      items:
        - type: rect
          bounds: [ 10, 10, 40, 40 ]
          color: blue