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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/rendering
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2010-01-18 4:21:40
Message-ID: 1263788500.839812.325.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1076385 by ggarand:

fix css2.1/t1205-c566-list-stl-00-e-ag.html

ported from patch by Shinichiro Hamaji <hamaji@chromium.org>

 M  +1 -1      bidi.cpp  
 M  +4 -0      render_block.cpp  


--- trunk/KDE/kdelibs/khtml/rendering/bidi.cpp #1076384:1076385
@@ -2042,7 +2042,7 @@
             currentCharacterIsSpace = false;
             trailingSpaceObject = 0;
 
-            if (o->isListMarker() && o->style()->listStylePosition() == OUTSIDE) {
+            if (o->isListMarker()) {
                 checkShouldIgnoreInitialWhitespace = true;
             }
         } else if ( o->isText() ) {
--- trunk/KDE/kdelibs/khtml/rendering/render_block.cpp #1076384:1076385
@@ -3208,6 +3208,10 @@
                 else
                     inlineMax += childMax;
             }
+
+            // Ignore spaces after a list marker.
+            if (child->isListMarker())
+                stripFrontSpaces = true;
         }
         else
         {
[prev in list] [next in list] [prev in thread] [next in thread] 

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