summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/flatten-twice.yaml
blob: 9af750a7c070e10e3221041db8902a1aa4c9c0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This test ensures that we flatten the "flat" style trasformations.
# If the flattening doesn't happen here, the rect gets rotated back
# to the original position.
---
root:
  items:
    -
      bounds: [100, 100, 0, 0]
      type: stacking-context
      transform: rotate-x(45)
      transform-origin: 0 0
      items:
        -
          type: "stacking-context"
          transform: rotate-x(-45)
          transform-origin: 0 0
          items:
            -
              bounds: [0, 0, 200, 200]
              type: rect
              color: green