W3C home > Mailing lists > Public > www-style@w3.org > November 1999

Re: font-size and accents, again

From: Erik van der Poel <erik@netscape.com>
Date: Sat, 27 Nov 1999 21:12:41 -0800
Message-ID: <3840B9C9.FFC6C1FF@netscape.com>
To: www-style@w3.org
David Baron kindly pointed out the errata:

  http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata.html

In the above document, the following is found:

  The height of the content area is equal to the actual font
  size of the element. The vertical padding, border and
  margin of an inline, non-replaced box start at the top and
  bottom of the font, not the 'line-height'. But only the
  'line-height' is used to compute the height of the line box.

I guess it makes sense to start the padding, border and margin at the
top and bottom of the font, so that the author can use the line-height
property to ensure that there is enough space to draw the padding and
border.

However, it might be a good idea to indicate whether the padding starts
at the top and bottom of the em square or the bounding box. (Or does it
start at the top and bottom of the actual text?)

Erik
Received on Sunday, 28 November 1999 00:14:10 GMT

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