Fix for bug# 313278. Random links on the page were unclickable.

The problem was that the width and height of the dummy floating element that gets appended to the line list were not being initialized to 0 in lo_AppendFloatToLineList() and was
fooling the selection code into thinking that the floating element is insanely large.
So, the link wasn't being returned to the FE when you moused over it.
This commit is contained in:
nisheeth%netscape.com 1998-09-01 05:40:50 +00:00
Родитель 5378510eea
Коммит fae669c975
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1705,6 +1705,8 @@ void lo_AppendFloatInLineList(MWContext *context,
float_dummy->lo_any.ele_id = NEXT_ELEMENT;
float_dummy->lo_any.x = state->x;
float_dummy->lo_any.y = state->y;
float_dummy->lo_any.width = 0;
float_dummy->lo_any.height = 0;
float_dummy->lo_any.next = restOfLine;
float_dummy->lo_any.prev = NULL;