Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e60910c

Browse filesBrowse files
committed
Fixed: Negative top margin changes block height litehtml#284
1 parent f0fb2ee commit e60910c
Copy full SHA for e60910c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/formatting_context.cpp

Copy file name to clipboardExpand all lines: src/formatting_context.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void litehtml::formatting_context::add_float(const std::shared_ptr<render_item>
6666

6767
int litehtml::formatting_context::get_floats_height(element_float el_float) const
6868
{
69-
int h = 0;
69+
int h = m_current_top;
7070

7171
for(const auto& fb : m_floats_left)
7272
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.