Svg Z-index Css. Z-index only works on HTML DOM elements that have position absolute relative or fixed. The current work around is to rely solely on DOM order.
Ideally the property would be honored. Firefoxs SVG implementation does not honor the z-index CSS style property. According to this model paint is applied in successive operations onto some area of the output device covering up the paint from the earlier operations.
The z-index style property is a much more convenient way to control Z.
So basically there is no z-index for SVG it uses the painters model. The current work around is to rely solely on DOM order. SVG 11 does not support CSS z-index or the SVG z-index attribute. An element with greater stack order is always in front of an element with a lower stack order.