W3C home > Mailing lists > Public > www-style@w3.org > September 1996

Re: New CSS1 draft available

From: Bert Bos <bbos@mygale.inria.fr>
Date: Mon, 23 Sep 1996 14:56:01 +0200 (MET DST)
Message-Id: <199609231256.OAA20655@mygale.inria.fr>
To: "David Perrell" <davidp@earthlink.net>
Cc: <lee@sq.com>, <www-style@w3.org>
Drop-caps have given us some headaches and we discussed all the issues
that Lee brought up many times. Drop-caps cannot be handled properly
without special treatment, but we thought we shouldn't ask too much
from CSS1 implementers.

Drop-caps have some similarity to floating elements because of the way
other text wraps around them, so we treat them as simple floats for
now. We are aware that it will produce less than professionally
looking designs.

Eventually they'll need something extra. Aligning them to the
cap-height and the baselines should be possible, but it should also be
possible to have large initials that are half above and half below the
first line. Only the lower half will have text wrapping around it.

Intelligent contours (a `V' is not a rectangle), and letters that are
`visually' aligned, rather than mechanically, should also be possible.

We're open for suggestions. There is still a lot to do after CSS1. On
our list of things to investigate are

   1. `li' (lines) as a special, context-dependent length unit
   2. a property drop-cap-lines
   3. a new type display:drop-cap
   4. access to font information (ascender, descender, cap-height, etc.)
   5. vertical alignments for floats

(2) and (3) together would be a simple way of specifying traditional
drop-caps, but more and more you see designs where the top of the
large initial is above the first line. Maybe `drop-cap-lines' should
have two parameters: how much to lower the baseline and how much to
raise the top. For example: `3' (= `3 0') = lower 3 lines, `3 2' is
lower 3 lines and raise 2. But what would `3.5' mean?


Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/pub/WWW/People/Bos/                      INRIA/W3C
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 93 65 77 71                 06902 Sophia Antipolis Cedex, France
Received on Monday, 23 September 1996 09:08:51 GMT

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