W3C home > Mailing lists > Public > www-svg@w3.org > August 2002

Re: <use> element and inheritance

From: Sigurd Lerstad <sigler@bredband.no>
Date: Thu, 8 Aug 2002 03:51:50 -0700
Message-ID: <00ed01c23ec9$99e7f760$481273d5@mmstudioproj>
To: "Jon Ferraiolo" <jon@ferraiolo.com>, <www-svg@w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:55 UTC