diff options
author | corvid <corvid@lavabit.com> | 2010-05-28 16:10:43 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-05-28 16:10:43 +0000 |
commit | c9a7f8fb20b32ff810a24c2a2c427ba9d4109a90 (patch) | |
tree | dee677940bb1d2319a9f3e8538e74d8f2cc0806c /dw | |
parent | be31fe4e379323723bc63af9cd57169dce5fbc5f (diff) |
reminder
Diffstat (limited to 'dw')
-rw-r--r-- | dw/textblock.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index 89dbfcf7..c2a803d1 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -1595,6 +1595,11 @@ void Textblock::calcTextSize (const char *text, size_t len, size->ascent = size->ascent * factor + 0.5; size->descent = size->descent * factor + 0.5; + /* TODO: The containing block's line-height property gives a minimum + * height for the line boxes. (Even when it's set to 'normal', i.e., + * AUTO? Apparently.) Once all block elements make Textblocks or + * something, this can be handled. + */ if (core::style::isAbsLength (style->lineHeight)) height = core::style::absLengthVal(style->lineHeight); else |