W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

[csswg-drafts] [css-values] baseline-position unit?

From: Thomas Bredin-Grey via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Oct 2016 03:38:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-185831665-1477625899-sysbot+gh@w3.org>
tbredin has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-values] baseline-position unit? ==
I've just found out about the `ch` and `ex` units described here:
https://www.w3.org/TR/css3-values/#relative-lengths

Baseline position (perhaps in a format like `top: 1bpos` for example),
 would give us information on the position of the baseline relative to
 the top of the box model (without padding?) for a given font.

Baseline position: This is something that could become extremely 
useful in vertical rhythm projects such as 
[Sassline](https://github.com/jakegiltsoff/sassline) and 
[MegaType](https://github.com/studiothick/megatype), which go to great
 length to attempt to find this position through other means. When 
combined with `ex` (and a speculative [cap 
height](https://github.com/w3c/csswg-drafts/issues/660)), we also 
start to build up a very useful picture of a font's vertical metrics.
  

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/661 using your GitHub 
account
Received on Friday, 28 October 2016 03:38:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC