W3C home > Mailing lists > Public > www-svg@w3.org > March 2004

Re: Correct behavior of "visibility" tag

From: Doug Schepers <doug@schepers.cc>
Date: Tue, 9 Mar 2004 20:20:57 -0500
Message-ID: <008b01c4063d$f1c49320$2dea1a42@Raven>
To: <www-svg@w3.org>
Cc: "ruben Tech" <rubentech2000@yahoo.com>

Hi, Ruben-

Chris Lilley is the Chair of the SVG Working Group. I think it's safe to
assume that his interpretation is the correct one. :-)

Perhaps it would make it more clear if you read the last sentence as
follows:
"Note that 'visibility' is not automatically inherited from the parent."

It *can* be inherited from the parent, if you specify visibility='inherit'
(as opposed to 'visible' or 'hidden'). As it happens, 'inherit' is the
default value of the property, so unless you change it, the element will
actively inherit the parent's visibility setting, if any.

Regards-
-Doug

ruben Tech wrote:

| From SVG spec,
(http://www.w3.org/TR/SVG11/painting.html#VisibilityControl)
|
| [
| 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.
| ]
|
| From your explanation what I understand is that "visibility" property does
not go down the inheritance chain. The above two lines of SVG spec is fairly
contradictory to each other and your explanation does seem to corroborate
the second sentence but no mention about the first sentence.
|
| However behavior of Adobe player and interpretation by the member of yahoo
SVG-DEV group seem to be different.
| For example http://groups.yahoo.com/group/svg-developers/message/40755
|
| I am not sure which interpretation is right!
|
|
| ruben
|
|
|
| Chris Lilley <chris@w3.org> wrote:
| On Tuesday, March 9, 2004, 10:17:52 PM, ruben wrote:
|
| rT> Anybody can provide me the correct interpretation of
| rT> SVGSpec on this issue? Thanks for any assistance.
|
| I'm getting deja vu here.
|
| This same question was already answered (by me) on 2 march, now it
| pops up again on this list and on svg-dev.
|
| What was missing from the previous explanation?
| http://lists.w3.org/Archives/Public/www-svg/2004Mar/0010.html
|
|
|
| -- 
| Chris Lilley mailto:chris@w3.org
| Chair, W3C SVG Working Group
| Member, W3C Technical Architecture Group
Received on Tuesday, 9 March 2004 20:21:06 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:26 GMT