W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: new text-decoration proposal

From: Bert Bos <bert@w3.org>
Date: Wed, 22 Oct 2003 18:41:01 +0200
Message-ID: <16278.45853.960478.684661@lanalana.inria.fr>
To: David Latapie <julian27@ifrance.com>
Cc: www-style@w3.org

David Latapie writes:

> I propose a new text-decoration. By now they are almost redundant, 
> border-top and bottom being almost able to replace them. Leaving only 
> the unused strike-through as an original thing.

Strike-through is used in practice. In fact, we use it sometimes when
we update a draft of CSS to show the differences with the previous
draft.

Borders are not quite the same as underline and overline. The bottom
border, e.g., is below the descenders, while the underline (depending
on the font) is just below the baseline and goes through the
descenders. Also, smart browsers may interrupt the underline for
subscripts.

> 
> My prposal would be a sort of "font border".
> Three ideas:
> - "hollow fonts" white with a black border. Is it the "engraved" 
> effect? I do not remember. And I would particularly like this one: 
> wood-like color (a carefully chosen shade of maroon) with a golden 
> border.
> 
> - inset and outset borders would have obvious use for 
> greco-roman/monument look

These are defined in the CSS3 fonts module[1], as 'font-effect:
outline' (or 'emboss' or 'engrave')

[1] http://www.w3.org/TR/css3-fonts/#font-decoration



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 22 October 2003 12:41:05 GMT

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