W3C home > Mailing lists > Public > www-style@w3.org > February 1997

Re: visibility of elements

From: James Aylett <sja20@hermes.cam.ac.uk>
Date: Mon, 24 Feb 1997 20:04:45 +0000 (GMT)
To: Patrick Telegone <Patrick.Telegone@grif.grif.fr>
cc: www-style@w3.org
Message-ID: <Pine.LNX.3.95.970224200039.10657A-100000@crystal.clare.cam.ac.uk>
On Mon, 24 Feb 1997, Patrick Telegone wrote:

> Wouldn't it be good if we had in the style-sheet specification a way to
> specify the visibility of an element.
> 
> I think that we could have a new property named "visibility" that could
> have 3 values: "invisible", "folded", "normal". 

I think this would only be particularly useful if user agents provided a
simple way of overriding certain commands in style groups (eg by having an
overriding style sheet, or by having one generated on-the-fly according to
the user's preferences). In this way, using derived styles, we could have
something like (without thinking at all about syntax):

Lists: visibility=display; color=red	\\ all lists displayed red
List1: 					\\ as a normal list
List2: color=blue			\\ blue list
List3: visibility=folded		\\ starts off folded

If all lists which the user might want to play around with had their own
style group, then the user could then be easily given the option of
folding and unfolding them simply by allowing the user to override style
attributes for each style groups.

Just a thought,
James

-- 
/-----------------------------------------------------------------------------\
  James Aylett - Crystal Services (crystal.clare.cam.ac.uk): BBS, Ftp and Web
     Clare College, Cambridge, CB2 1TL -- sja20@cam.ac.uk -- (0976) 212023
Received on Monday, 24 February 1997 15:05:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:49 GMT