Index: htmlparser.cpp =================================================================== RCS file: /home/kde/kdelibs/khtml/html/htmlparser.cpp,v retrieving revision 1.174 diff -b -u -u -r1.174 htmlparser.cpp --- htmlparser.cpp 2000/09/27 19:46:34 1.174 +++ htmlparser.cpp 2000/09/30 19:58:03 @@ -110,7 +110,7 @@ 4, // ID_DL 3, // ID_DT 1, // ID_EM - 1, // ID_EMBED + 0, // ID_EMBED 3, // ID_FIELDSET 1, // ID_FONT 3, // ID_FORM @@ -380,7 +380,10 @@ n->attach(HTMLWidget); if(tagPriority[id] == 0 && n->renderer()) + { n->renderer()->calcMinMaxWidth(); + if (n->id() == ID_EMBED) n->renderer()->close(); + } } catch(DOMException exception)