equal
deleted
inserted
replaced
99 if(aElement != NULL) |
99 if(aElement != NULL) |
100 { |
100 { |
101 CSvgElementImpl* lParentElement = (CSvgElementImpl*)aElement->ParentNode (); |
101 CSvgElementImpl* lParentElement = (CSvgElementImpl*)aElement->ParentNode (); |
102 while(lParentElement && (lParentElement->iSvgStyleProperties != NULL)) |
102 while(lParentElement && (lParentElement->iSvgStyleProperties != NULL)) |
103 { |
103 { |
104 if(!lParentElement) |
|
105 return EFalse; |
|
106 if (aElement->iSvgStyleProperties->operator[](aAttrIndex) == |
104 if (aElement->iSvgStyleProperties->operator[](aAttrIndex) == |
107 lParentElement->iSvgStyleProperties->operator[](aAttrIndex)) |
105 lParentElement->iSvgStyleProperties->operator[](aAttrIndex)) |
108 { |
106 { |
109 return ETrue; |
107 return ETrue; |
110 } |
108 } |
671 case KCSS_ATTR_FONTFAMILY: |
669 case KCSS_ATTR_FONTFAMILY: |
672 if( ElemID() == KSvgFontfaceElement ) |
670 if( ElemID() == KSvgFontfaceElement ) |
673 { |
671 { |
674 ((CSvgFontFaceElementImpl *)this)->SetFontFamilyL(aValue); |
672 ((CSvgFontFaceElementImpl *)this)->SetFontFamilyL(aValue); |
675 } |
673 } |
676 |
674 break; |
|
675 |
677 case KCSS_ATTR_STROKE_LINECAP: |
676 case KCSS_ATTR_STROKE_LINECAP: |
678 case KCSS_ATTR_STROKE_LINEJOIN: |
677 case KCSS_ATTR_STROKE_LINEJOIN: |
679 case KCSS_ATTR_FILLRULE: |
678 case KCSS_ATTR_FILLRULE: |
680 { |
679 { |
681 CStrCssValueImpl* tParentValue = NULL; |
680 CStrCssValueImpl* tParentValue = NULL; |
2311 if( lParentElement && aValue == KInherit ) |
2310 if( lParentElement && aValue == KInherit ) |
2312 { |
2311 { |
2313 //tParentValue = (CIntCssValueImpl *)(lParentElement->iSvgStyleProperties->operator[](aNameId)); |
2312 //tParentValue = (CIntCssValueImpl *)(lParentElement->iSvgStyleProperties->operator[](aNameId)); |
2314 //(*iSvgStyleProperties)[aNameId]= tParentValue; |
2313 //(*iSvgStyleProperties)[aNameId]= tParentValue; |
2315 if(tParentValue) |
2314 if(tParentValue) |
2316 tValue->SetValueL(tParentValue->Value()); |
2315 tValue->SetValueL(tParentValue->Value()); |
2317 } |
2316 } |
2318 else |
2317 else |
2319 { |
2318 { |
2320 tValue->SetValueL( aValue ); |
2319 tValue->SetValueL( aValue ); |
2321 } |
2320 } |