diff options
author | Sebastian Geerken <devnull@localhost> | 2014-08-01 23:23:52 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-08-01 23:23:52 +0200 |
commit | 71bd40fb3fe85b16aeadfb26f5a14038b9a5797f (patch) | |
tree | 998ef967d84dd3e931c02357ece5723fdfed7c3a /dw/textblock.hh | |
parent | 149ad668aaf47f85a60b48f9c4b3f641baa94e15 (diff) |
Start work on 'inline-block'.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index 2f30068e..11875c22 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -781,8 +781,8 @@ protected: inline bool mustBeWidenedToAvailWidth () { DBG_OBJ_ENTER0 ("resize", 0, "mustBeWidenedToAvailWidth"); - // TODO Consider inline blocks etc. later. - bool b = /*getStyle()->display == core::style::DISPLAY_BLOCK &&*/ + // TODO Probably absolutely positioned textblocks must be excluded, too. + bool b = getStyle()->display == core::style::DISPLAY_BLOCK && getStyle()->vloat == core::style::FLOAT_NONE; DBG_OBJ_MSGF ("resize", 0, "=> %s", b ? "true" : "false"); DBG_OBJ_LEAVE (); |