| Index: Source/core/svg/SVGFontFaceElement.cpp
|
| diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp
|
| index 46a3b3aefff69dc8a0427ff16f4debe330b3649b..97224f68865d6be9b28504efb8671a829aec1295 100644
|
| --- a/Source/core/svg/SVGFontFaceElement.cpp
|
| +++ b/Source/core/svg/SVGFontFaceElement.cpp
|
| @@ -62,54 +62,6 @@ PassRefPtr<SVGFontFaceElement> SVGFontFaceElement::create(const QualifiedName& t
|
| return adoptRef(new SVGFontFaceElement(tagName, document));
|
| }
|
|
|
| -static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName& attrName)
|
| -{
|
| - if (!attrName.namespaceURI().isNull())
|
| - return CSSPropertyInvalid;
|
| -
|
| - static HashMap<StringImpl*, CSSPropertyID>* propertyNameToIdMap = 0;
|
| - if (!propertyNameToIdMap) {
|
| - propertyNameToIdMap = new HashMap<StringImpl*, CSSPropertyID>;
|
| - // This is a list of all @font-face CSS properties which are exposed as SVG XML attributes
|
| - // Those commented out are not yet supported by WebCore's style system
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, accent_heightAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, alphabeticAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, ascentAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, bboxAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, cap_heightAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, descentAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_familyAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_sizeAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_stretchAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_styleAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_variantAttr);
|
| - mapAttributeToCSSProperty(propertyNameToIdMap, font_weightAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, hangingAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, ideographicAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, mathematicalAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, overline_positionAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, overline_thicknessAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, panose_1Attr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, slopeAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, stemhAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, stemvAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, strikethrough_positionAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, strikethrough_thicknessAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, underline_positionAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, underline_thicknessAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, unicode_rangeAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, units_per_emAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, v_alphabeticAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, v_hangingAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, v_ideographicAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, v_mathematicalAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, widthsAttr);
|
| - // mapAttributeToCSSProperty(propertyNameToIdMap, x_heightAttr);
|
| - }
|
| -
|
| - return propertyNameToIdMap->get(attrName.localName().impl());
|
| -}
|
| -
|
| void SVGFontFaceElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| CSSPropertyID propId = cssPropertyIdForSVGAttributeName(name);
|
|
|