Comment 1 for bug 501237

Revision history for this message
su_v (suv-lp) wrote :

> The first oddity (which seems like a bug, but probably just weridness in the SVG spec)

Layers are implemented as SVG groups, their stack order follows the same rules as z-order in general. For a layer to be listed as _first_ element in the 'Layers...' dialog, its corresponding group element must be drawn as _last_ top level element, i.e. it is near the end of the SVG source file. The XML Editor gives you a view of the SVG or XML structure of the document.

«Elements in an SVG document fragment have an implicit drawing order, with the first elements in the SVG document fragment getting "painted" first. Subsequent elements are painted on top of previously painted elements.»
<http://www.w3.org/TR/SVG11/render.html#RenderingOrder>