From kde-commits Tue May 15 05:49:01 2007 From: Allan Sandfeld Jensen Date: Tue, 15 May 2007 05:49:01 +0000 To: kde-commits Subject: branches/KDE/3.5/kdelibs/khtml/rendering Message-Id: <1179208141.557405.28906.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117920816117979 SVN commit 664896 by carewolf: Fix insert inline in inline in block-context in inline bug. CCBUG: 145428 M +1 -1 render_flow.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_flow.cpp #664895:664896 @@ -85,7 +85,7 @@ void RenderFlow::addChildWithContinuation(RenderObject* newChild, RenderObject* beforeChild) { RenderFlow* flow = continuationBefore(beforeChild); - while(beforeChild && beforeChild->parent() != this && !beforeChild->parent()->isAnonymousBlock()) { + while(beforeChild && beforeChild->parent() != flow && !beforeChild->parent()->isAnonymousBlock()) { // skip implicit containers around beforeChild beforeChild = beforeChild->parent(); }