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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/xml
From:       Germain Garand <germain () ebooksfrance ! com>
Date:       2006-07-02 12:06:17
Message-ID: 1151841977.012625.1253.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 557104 by ggarand:

skip out of flow objects when looking for a significant previous renderer
in rendererIsNeeded.

BUG:128760



 M  +2 -0      dom_textimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/xml/dom_textimpl.cpp #557103:557104
@@ -389,6 +389,8 @@
         }
 
         RenderObject *first = par->firstChild();
+        while (first && first->isFloatingOrPositioned())
+            first = first->nextSibling();
         RenderObject *next = nextRenderer();
         if (!first || next == first) {
             // Whitespace at the start of a block just goes away.  Don't even
[prev in list] [next in list] [prev in thread] [next in thread] 

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