equal
deleted
inserted
replaced
1255 // type (animate Transform) |
1255 // type (animate Transform) |
1256 // attributeType |
1256 // attributeType |
1257 ********************************************************/ |
1257 ********************************************************/ |
1258 if(aElementHandle) |
1258 if(aElementHandle) |
1259 { |
1259 { |
1260 TInt32 lValue = 0; |
1260 //TInt32 lValue = 0; |
|
1261 |
1261 TInt lSvgAttrId = SvgGetAttributeTypeMappingJSRtoSVG(aAttribute); |
1262 TInt lSvgAttrId = SvgGetAttributeTypeMappingJSRtoSVG(aAttribute); |
1262 if(lSvgAttrId != KSvgUnknownAttribute) |
1263 if(lSvgAttrId != KSvgUnknownAttribute) |
1263 { |
1264 { |
1264 |
1265 TInt lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue); |
|
1266 /* |
1265 lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue); |
1267 lValue = SvgEnumerationMappingJSRtoSVG(lSvgAttrId , (TInt)aValue); |
1266 |
1268 |
1267 if ( lValue == KErrNotFound && aValue == ATTRIBUTE_INHERIT ) |
1269 if ( lValue == KErrNotFound && aValue == ATTRIBUTE_INHERIT ) |
1268 lValue = KSVGAttributeInherit; |
1270 lValue = KSVGAttributeInherit;*/ |
1269 if(lSvgAttrId == KCSS_ATTR_FONTSIZE) |
1271 if(lSvgAttrId == KCSS_ATTR_FONTSIZE) |
1270 { |
1272 { |
1271 if(lValue != KErrNotFound) |
1273 if(lValue != KErrNotFound) |
1272 { |
1274 { |
1273 // font is internally considered to be a float. |
1275 // font is internally considered to be a float. |