Comment 6 for bug 1506256

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

Maybe related (possibly off-topic though):
Apart from 'display' as property, there is also the property 'visibility' (currently not supported in Inkscape, see bug #166181, bug #166042):
* http://www.w3.org/TR/SVG11/painting.html#DisplayProperty
* http://www.w3.org/TR/SVG11/painting.html#VisibilityProperty

<quote src="http://www.w3.org/TR/SVG11/painting.html#VisibilityControl">
* When applied to a container element, setting ‘display’ to none causes the container and all of its children to be invisible; thus, it acts on groups of elements as a group. ‘visibility’, however, only applies to individual graphics elements. Setting ‘visibility’ to hidden on a ‘g’ will make its children invisible as long as the children do not specify their own ‘visibility’ properties as visible. Note that ‘visibility’ is not an inheritable property.
* When the ‘display’ property is set to none, then the given element does not become part of the rendering tree. With ‘visibility’ set to hidden, however, processing occurs as if the element were part of the rendering tree and still taking up space, but not actually rendered onto the canvas.
</quote>