When z-index changes from 0 to a positive value on a positioned element, the stacking context tree is not rebuilt, causing the element to be painted twice. This test captures the current (incorrect) behavior.