W3C home > Mailing lists > Public > www-style@w3.org > July 1995

Re: Proposal For Outline Markup Scheme For HTML 3.0

From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
Date: Wed, 19 Jul 1995 10:00:07 -0600
Message-Id: <199507191600.KAA14546@gray.nmt.edu>
To: KRettig@ctt.bellcore.com (Keith Rettig)
Cc: www-html@www10.w3.org, www-style@www10.w3.org
Outline-style lists would seem to me to be entirely a presentation issue.
For example, collapsed lists might be specified like this:
<HTML><HEAD><TITLE>Collapsed Outline Demo</TITLE>
<STYLE>
OL, UL, DL : List.Style = accordian
OL.OPEN, UL.OPEN, DL.OPEN : List.Style = expanded
OL.CLOSED, UL.CLOSED, DL.CLOSED : List.Style = collapsed
</STYLE -- It is necessary to have both OPEN and CLOSED versions because
           of inherited styles. This assumes a CSS-like stylesheet
           language, and should probable say so in the <STYLE> tag...
           i.e., <STYLE NOTATION=CSS>... my apologies. -->
</HEAD>
<BODY>
<H1>Collapsed Outline-Style Lists</H1>
<P>
  This document contains several accordian-style (sp?) lists.
Non-stylesheet browsers should, of course, render them fully expanded.
Also, note that the <LH> (List Header) is shown in place of a collapsed
list. 
<UL CLASS=OPEN>
  <LH>This is the first list. It is initially expanded.
  <LI>Item 1
  <LI>Item 2
  <LI><UL CLASS=CLOSED>
        <LH>Note that the third list item <em>is</em> a collapsed list!
        <LI>Item 3.1
        <LI>Item 3.2
        <LI>Item 3.2
      </UL>
  <LI>Item 4
</UL>
<OL CLASS=CLOSED>
  <LH>This is the second list. It is numbered, and closed initially.
  <LI><OL CLASS=OPEN>
        <LH>Note that this list will be visible immediately when the
            outer-level &lt;OL&gt; is expanded.
        <LI>1.1
        <LI>1.2
        <LI>1.3 (Numbers would actually be generated automatically by the
rendering software... the stylesheet might also include a line to make
numbering inherit.)
      </OL>
  <LI><OL CLASS=CLOSED>
        <LH>This list would be still be collapsed when the outer-level
list is expanded.
        <LI>2.1
        <LI>2.2
      </OL?
          -- oops! that's </OL> (I'm typing this a line at a time, sorry
          -->
  <LI>Item three.
</OL>
</BODY>
</HTML>

Any comments?

-- 
-------------------------------------------------------------------------------
 Name: Benjamin C. W. Sittler -- Email: bsittler@nmt.edu -- Snail: P.O. Box 153
 Web: http://nmt.edu/~bsittler/         bcws@arc.unm.edu           Socorro, NM
-------------------------------------------------------------------------------
Received on Wednesday, 19 July 1995 12:00:20 GMT

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