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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/rendering (silent)
From:       Germain Garand <germain () ebooksfrance ! com>
Date:       2006-09-26 2:20:52
Message-ID: 1159237252.184853.7113.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 588461 by ggarand:

SVN_SILENT - Fix assert. Less kdDebug noise.




 M  +2 -2      render_object.cpp  


--- branches/KDE/3.5/kdelibs/khtml/rendering/render_object.cpp #588460:588461
@@ -1360,7 +1360,7 @@
     // When the difference between two successive styles is only 'Position'
     // we may attempt to save a layout by directly updating the object position.
 
-    KHTMLAssert( m_style->position() == RELATIVE || m_style->position() == ABSOLUTE );
+    KHTMLAssert( m_style->position() != STATIC );
     if (!layer())
         return false;
     setInline(m_style->isDisplayInlineType());
@@ -1377,7 +1377,7 @@
         // we'll need a layout.
         setWidth(oldWidth);
         setHeight(oldHeight);
-        kdDebug() << "Layer translation failed for " << information() << endl;
+        // kdDebug() << "Layer translation failed for " << information() << endl;
         return false;
     }
     layer()->updateLayerPosition();
[prev in list] [next in list] [prev in thread] [next in thread] 

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