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

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2005-01-26 11:20:09
Message-ID: 20050126112009.9F9A41BB0A () office ! kde ! org
[Download RAW message or body]

CVS commit by carewolf: 

Better not ignore white-space only blocks in pre-line and pre-wrap either


  M +1 -1      dom_textimpl.cpp   1.107


--- kdelibs/khtml/xml/dom_textimpl.cpp  #1.106:1.107
@@ -392,5 +392,5 @@ bool TextImpl::rendererIsNeeded(RenderSt
     }
     
-    if (style->whiteSpace() == PRE) {
+    if (style->preserveWS() || style->preserveLF()) {
         return true;
     }


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

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