From 2db5a9e3e790863db2f67e727512f2373d4c82dc Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Tue, 18 Nov 2014 11:48:08 +0100 Subject: Fixed bug related to floats. --- dw/textblock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dw/textblock.cc') diff --git a/dw/textblock.cc b/dw/textblock.cc index 8c2accb4..d42be1e3 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -3149,7 +3149,7 @@ Textblock *Textblock::getTextblockForLine (int firstWord, int lastWord) // Exclude some cases where a textblock constitutes a new // container (see definition of float container in // Textblock::isContainingBlock). - widget->getStyle()->display != core::style::DISPLAY_BLOCK && + widget->getStyle()->display != core::style::DISPLAY_INLINE_BLOCK && widget->getStyle()->overflow == core::style::OVERFLOW_VISIBLE) textblock = (Textblock*)widget; -- cgit v1.2.3