diff -r ca0ecbd73cb3 -r 443d52b01c62 svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp --- a/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp Fri Mar 19 09:42:47 2010 +0200 +++ b/svgtopt/SVG/SVGImpl/src/SVGElementImpl.cpp Fri Apr 16 15:55:53 2010 +0300 @@ -2177,12 +2177,13 @@ { MGfxPaint* lPaintValue = (MGfxPaint *)((( CPaintCssValueImpl* )lCssValue)->Value()); + /* if(lPaintValue && lPaintValue->GetColor()== KSvgCurrentColor) { lPaintValue = CurrentColor(); aValue = lPaintValue->GetColor(); } - else if(lPaintValue) + else*/ if(lPaintValue) { aValue = lPaintValue->GetColor(); } @@ -2309,8 +2310,10 @@ } if( lParentElement && aValue == KInherit ) { - tParentValue = (CIntCssValueImpl *)(lParentElement->iSvgStyleProperties->operator[](aNameId)); - (*iSvgStyleProperties)[aNameId]= tParentValue; + //tParentValue = (CIntCssValueImpl *)(lParentElement->iSvgStyleProperties->operator[](aNameId)); + //(*iSvgStyleProperties)[aNameId]= tParentValue; + if(tParentValue) + tValue->SetValueL(tParentValue->Value()); } else {