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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/rendering
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2007-05-15 5:49:01
Message-ID: 1179208141.557405.28906.nullmailer () svn ! kde ! org
[Download RAW message or body]

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();
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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