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

List:       kde-commits
Subject:    kdelibs/khtml/rendering
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-10-21 8:36:59
[Download RAW message or body]

CVS commit by mueller: 

canvas's containing block is the canvas


  M +5 -1      render_object.cpp   1.232


--- kdelibs/khtml/rendering/render_object.cpp  #1.231:1.232
@@ -443,4 +443,6 @@ RenderBlock *RenderObject::containingBlo
     if(isTableCell())
         return static_cast<RenderBlock*>( parent()->parent()->parent() );
+    if (isCanvas())
+        return const_cast<RenderBlock*>( static_cast<const RenderBlock*>(this) );
 
     RenderObject *o = parent();
@@ -912,5 +915,6 @@ void RenderObject::setStyle(RenderStyle 
     //qDebug("new style, diff=%d", d);
 
-#warning FIXME - outline
+    if ( d == RenderStyle::Visible && m_style && m_style->outlineWidth() > style->outlineWidth() )
+        repaint();
 
     if ( m_style &&


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

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