Fix for Bugzilla bug 492. We were inserting the floating element for the

left/right aligned tables into the line list at the beginning of the list
rather than the end.  This caused re-ordering of floating tables as well
as display problems.
This commit is contained in:
nisheeth%netscape.com 1998-10-15 05:32:19 +00:00
Родитель d46dfce475
Коммит c4da19e6d8
1 изменённых файлов: 5 добавлений и 8 удалений

Просмотреть файл

@ -7680,17 +7680,14 @@ fprintf(stderr, "lo_EndTable called\n");
last->lo_any.next = state->float_list;
state->float_list = state->line_list;
state->line_list = NULL;
}
}
state->line_list = save_line_list;
if (relayout == FALSE)
{
lo_AppendFloatInLineList(context, state, (LO_Element *)table->table_ele, save_line_list );
}
else
{
state->line_list = save_line_list;
}
lo_AppendFloatInLineList(context, state, (LO_Element *)table->table_ele, NULL);
}
table->table_ele->line_height = line_height;
table->table_ele->expected_y = table->table_ele->y;