nested.yaml (857B)
1 # This tests have a non-preserve3d stacking context nested within 2 # preserve-3d sub-tree. This nested context is still getting baked in 3 # and participates (as a whole) in plane splitting. 4 # It is layed out in the same plane as the parent, so should be ordered 5 # last, given that it's coming later than the parent. 6 --- 7 root: 8 items: 9 - type: stacking-context 10 bounds: [0, 0, 1024, 1024] 11 items: 12 - type: stacking-context 13 bounds: [0, 0, 600, 600] 14 transform-style: preserve-3d 15 transform: rotate-y(60.0) 16 items: 17 - type: rect 18 bounds: [0, 0, 600, 600] 19 color: red 20 - type: stacking-context 21 bounds: [0, 0, 100, 100] 22 items: 23 - type: rect 24 bounds: [0, 0, 600, 200] 25 color: green