Z order test 1 (transposed DOM)
This test moves the element .far
"into" the screen by translating it along the z-axis. No transform is applied to the .near
element. .far
appears after .near
in the DOM tree so it will be rendered later. Test passes if .near
(coloured green) is rendered behind .far
(coloured red).
This test is identical to z-order test 1 except that the .near
and .far
elements have been transposed in the DOM tree.
NOTE: I'm not 100% if this test should pass or fail in its current state - the spec is ambiguous