[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdom/css (silent)
From: Rob Buis <rwlbuis () xs4all ! nl>
Date: 2005-09-26 18:58:05
Message-ID: 1127761085.114703.9541.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 464269 by buis:
SVN_SILENT: some logic fixes.
M +6 -7 CSSStyleSelector.cpp
--- trunk/kdenonbeta/kdom/css/CSSStyleSelector.cpp #464268:464269
@@ -3823,14 +3823,13 @@
// list of ident
HANDLE_INHERIT_AND_INITIAL(textDecoration, TextDecoration)
int t = RenderStyle::initialTextDecoration();
- if(!primitiveValue)
- return;
-
- if(primitiveValue->getIdent() != CSS_VAL_NONE)
+ if(primitiveValue && primitiveValue->getIdent() != CSS_VAL_NONE)
{
- if(!value->isValueList())
- return;
-
+ // do nothing
+ }
+ else
+ {
+ if(!value->isValueList()) return;
CSSValueListImpl *list = static_cast<CSSValueListImpl *>(value);
int len = list->length();
for(int i = 0; i < len; i++)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic