Z order test 4
This test sets the z-index
of the .far
to 1 element and moves it "into" the screen by translating it along the z-axis. The z-index
of the .near
element is set to 2 and a "null" transform (translateZ(0)
) is applied. Test passes if .far
(coloured red) is rendered behind .near
(coloured green).