nested-coord-systems.yaml (972B)
1 # This test checks our ability to have the plane splitting root itself to be rasterized 2 # in some local space. Perspective transform forces WR to use the local space. 3 --- 4 root: 5 items: 6 - type: stacking-context 7 bounds: 0 0 400 400 8 transform-style: preserve-3d 9 items: 10 - type: stacking-context 11 bounds: 0 0 400 400 12 transform-style: flat 13 transform: perspective(100) rotate-y(30) 14 transform-origin: 0 0 15 items: 16 - type: stacking-context 17 bounds: 0 0 400 400 18 transform-style: preserve-3d 19 items: 20 - type: stacking-context 21 bounds: 0 0 400 400 22 transform-style: flat 23 transform: perspective(100) rotate-y(30) 24 transform-origin: 0 0 25 items: 26 - type: rect 27 bounds: 0 0 200 200 28 color: green