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

List:       kde-commits
Subject:    branches/KDE/4.0/kdelibs/khtml/rendering
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2008-04-22 14:14:08
Message-ID: 1208873648.458524.12351.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 799844 by ggarand:

automatically merged revision 796957:
fix absolutely positioned static elements being
misplaced and drawn on top of the border when they
are the only child of a block.

 M  +2 -2      bidi.cpp  


--- branches/KDE/4.0/kdelibs/khtml/rendering/bidi.cpp #799843:799844
@@ -1847,11 +1847,11 @@
       bool nssx, nssy;
       bool isInlineType = o->style()->isOriginalDisplayInlineType();
       nssx = o->hasStaticX();
-      if (nssx && !isInlineType && o->isBox()) {
+      if (nssx && o->isBox()) {
           static_cast<RenderBox*>(o)->setStaticX(o->parent()->style()->direction() == LTR ?
                                   p->borderLeft()+p->paddingLeft() :
                                   p->borderRight()+p->paddingRight());
-          nssx = false;
+          nssx = isInlineType;
       }
 
       // If our original display was an INLINE type, then we can
[prev in list] [next in list] [prev in thread] [next in thread] 

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