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

List:       kde-commits
Subject:    branches/work/khtml-svg/rendering
From:       Nikolas Zimmermann <wildfox () kde ! org>
Date:       2006-03-26 18:19:45
Message-ID: 1143397185.024980.20425.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 522801 by wildfox:

recognize 'KCanvasContainer' (which will be renamed to 'RenderSVGContainer' soon)
in the RenderObject::containingBlock() function -> --crashes


 M  +5 -1      render_object.cpp  


--- branches/work/khtml-svg/rendering/render_object.cpp #522800:522801
@@ -600,7 +600,11 @@
             o = o->parent();
     } else {
         while(o && ( ( o->isInline() && !o->isReplaced() ) || o->isTableRow() || o->isTableSection() ||
-                       o->isTableCol() || o->isFrameSet() ) )
+                       o->isTableCol() || o->isFrameSet()
+#if SVG_SUPPORT
+                                       || o->isKCanvasContainer()
+#endif
+             ) )
             o = o->parent();
     }
     // this is just to make sure we return a valid element.
[prev in list] [next in list] [prev in thread] [next in thread] 

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