Fix for crash when assigning document.body

Dirk Mueller mueller at kde.org
Mon Oct 20 01:34:13 CEST 2003


On Sunday 19 October 2003 23:53, Maciej Stachowiak wrote:

> I'll try it your way. 

note that there was an ugly typo in my patch:

--- htmlparser.cpp      14 Oct 2003 10:46:59 -0000      1.334
+++ htmlparser.cpp      18 Oct 2003 21:02:05 -0000      1.335
@@ -623,7 +623,7 @@ bool KHTMLParser::insertNode(NodeImpl *n
                          !flat && endTag[id] != DOM::FORBIDDEN ) {
 
                         pushBlock(id, tagPriority[id]);
-                        setCurrent ( current );
+                        setCurrent ( n );
                         haveMalformedTable = true;
                     }
                     return true;

> In any case we are planning a mass merge to your  
> stable branch soon, so we should pick up the change one way or the 
> other.

Hmm, merging to the stable branch has no point.. none of the safari changes 
are there. 


-- 
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <


More information about the Khtml-devel mailing list