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

List:       kde-commits
Subject:    kdenonbeta/ksvg2/css/impl
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-01-08 15:56:28
Message-ID: 20050108155628.046B61A331 () office ! kde ! org
[Download RAW message or body]

CVS commit by buis: 

Also build a SVGPaintImpl for cases like fill="none".


  M +1 -1      cssparser.cc   1.26


--- kdenonbeta/ksvg2/css/impl/cssparser.cc  #1.25:1.26
@@ -246,5 +246,5 @@ bool SVGCSSParser::parseValue(int propId
                 {
                         if(id == CSS_VAL_NONE)
-                                valid_primitive = true;
+                                parsedValue = new SVGPaintImpl(SVG_PAINTTYPE_NONE);
                         else if(id == SVGCSS_VAL_CURRENTCOLOR)
                                 parsedValue = new SVGPaintImpl(SVG_PAINTTYPE_CURRENTCOLOR);


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

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