Within each stacking context, the following layers are painted in back-to-front order: