changeset 4612:b98afc460e59

Attribute 'float' defines a floating Textblock even if 'display' is 'inline'.
author Sebastian Geerken
date Sa, 02 Jul 2016 23:36:14 +0200
parents c67e33f51c67
children 14e158d32c9e
files src/html.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.cc	Di Jun 28 13:53:56 2016 +0000
+++ b/src/html.cc	Sa Jul 02 23:36:14 2016 +0200
@@ -4061,6 +4061,9 @@
                S_TOP(html)->display_none = true;
                break;
             case DISPLAY_INLINE:
+               if (html->style()->vloat != FLOAT_NONE)
+                  Html_display_block(html);
+               break;
             default:
                break;
          }