From kde-commits Sat May 21 14:28:22 2005 From: Harri Porten Date: Sat, 21 May 2005 14:28:22 +0000 To: kde-commits Subject: branches/KDE/3.4/kdelibs/khtml Message-Id: <1116685702.420401.17298.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111668571314412 SVN commit 416422 by porten: merged onload fix from trunk (r416420) M +5 -0 branches/KDE/3.4/kdelibs/khtml/ChangeLog M +1 -2 branches/KDE/3.4/kdelibs/khtml/html/html_documentimpl.cpp --- branches/KDE/3.4/kdelibs/khtml/ChangeLog #416421:416422 @@ -1,3 +1,8 @@ +2005-05-21 Harri Porten + + * html/html_documentimpl.cpp: emit onload event even if the + document has no body element (bug #105798). + 2005-05-18 Harri Porten * xml/dom2_eventsimpl.cpp: recognize "dblclick" type in --- branches/KDE/3.4/kdelibs/khtml/html/html_documentimpl.cpp #416421:416422 @@ -251,8 +251,7 @@ DocumentImpl::close(); - HTMLElementImpl* b = body(); - if (b && doload) { + if (doload) { if (title().isEmpty()) // ensure setTitle is called at least once setTitle( DOMString() );