[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.4/kdelibs/khtml
From:       Harri Porten <porten () kde ! org>
Date:       2005-05-21 14:28:22
Message-ID: 1116685702.420401.17298.nullmailer () svn ! kde ! org
[Download RAW message or body]

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  <porten@kde.org>
+
+	* html/html_documentimpl.cpp: emit onload event even if the
+	document has no body element (bug #105798).
+
 2005-05-18  Harri Porten  <porten@kde.org>
 
 	* 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() );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic