Re: <use> element and inheritance

Thanks, that cleared it up

--
Sigurd Lerstad

> 
> In most cases, if you set 'visibility:hidden' on a <use> element, this
> will indeed cause the referenced object to be invisible. However, there
> are cases (obscure?) when this may not be the case. For example, if you
> have the following SVG content:
> 
> </svg>
> 
> The blue rectangle will show even though the <use> element that
> references it specifies visibility="hidden". This is because the
> visibility property only applies to individual leaf nodes (i.e.,
> individual graphic objects) and does *not* operate on a group basis.
> Instead, if you want to force an entire group to disappear, use the
> 'display' property with a value of 'none'. For more information, review
> the writeups on visibility and display at
> http://www.w3.org/TR/SVG/painting.html#VisibilityControl, particularly
> the two bullets at the top of section 11.5.
> 
> Jon Ferraiolo
> SVG 1.0 Editor

Received on Wednesday, 7 August 2002 21:50:31 UTC