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