- From: L. David Baron <dbaron@dbaron.org>
- Date: Sun, 26 Jan 2014 22:35:44 -0800
- To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Cc: www-style@w3.org
- Message-ID: <20140127063544.GA8397@crum.dbaron.org>
On Monday 2014-01-27 07:25 +0100, Daniel Glazman wrote:
> On 27/01/14 03:49, L. David Baron wrote:
>
> > Using CSS to create a table of contents seems to me to be using CSS
> > on the wrong side of the barrier between content and presentation; a
> > table of contents is a part of the content presented to the user and
> > should be in the content in the markup, not merely something brought
> > into existence by the presentation.
>
> No. I have numerous examples dating to P language and DSSSL at the
> beginning of the '90s where a table of contents is just another
> stylesheet applied to the document. That's why we originally wanted
> multiple views per document. To generate a table of contents, you
> basically have to apply |display:none| to elements not h1...h6 nor
> descendants of such header elements.
Just because it has been done with style sheets in some systems
doesn't mean that fits with the architecture of the *Web*.
-David
--
𝄞 L. David Baron http://dbaron.org/ 𝄂
𝄢 Mozilla https://www.mozilla.org/ 𝄂
Before I built a wall I'd ask to know
What I was walling in or walling out,
And to whom I was like to give offense.
- Robert Frost, Mending Wall (1914)
Received on Monday, 27 January 2014 06:36:13 UTC