summaryrefslogtreecommitdiff
path: root/libs/litehtml/src/render_block.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-28 15:48:45 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-28 15:48:45 +0300
commite29db0c3414f6da69d7e11505819346fed9267a3 (patch)
tree67310fd9ce926aaeb0101a7bf79dfe30ff8eba33 /libs/litehtml/src/render_block.cpp
parent24da6586bfdb3e41cc8240e41162b016e10b68c3 (diff)
update for litehtml
Diffstat (limited to 'libs/litehtml/src/render_block.cpp')
-rw-r--r--libs/litehtml/src/render_block.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/litehtml/src/render_block.cpp b/libs/litehtml/src/render_block.cpp
index 7e2867f35e..6fba641b03 100644
--- a/libs/litehtml/src/render_block.cpp
+++ b/libs/litehtml/src/render_block.cpp
@@ -1,8 +1,9 @@
-#include "html.h"
#include "render_block.h"
#include "render_inline_context.h"
#include "render_block_context.h"
#include "document.h"
+#include "document_container.h"
+#include "html_tag.h"
int litehtml::render_item_block::place_float(const std::shared_ptr<render_item> &el, int top, const containing_block_context &self_size, formatting_context* fmt_ctx)
{
@@ -199,7 +200,7 @@ int litehtml::render_item_block::_render(int x, int y, const containing_block_co
{
if(m_pos.height == 0)
{
- m_pos.height = css().get_line_height();
+ m_pos.height = css().line_height().computed_value;
}
}