Changeset 96307 in webkit
- Timestamp:
- Sep 29, 2011 12:23:08 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 59 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96306 r96307 1 2011-09-29 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION(87010): elements in ECMA-cloud neither filled nor blurred 4 https://bugs.webkit.org/show_bug.cgi?id=68679 5 <rdar://problem/10204649> 6 7 Reviewed by Nikolas Zimmermann. 8 9 Add a test ensuring that using xlink:href with a different prefix (i.e. xl:href) 10 works correctly. 11 12 * svg/custom/xlink-custom-namespace-expected.png: Added. 13 * svg/custom/xlink-custom-namespace-expected.txt: Added. 14 * svg/custom/xlink-custom-namespace.svg: Added. 15 1 16 2011-09-28 Filip Pizlo <fpizlo@apple.com> 2 17 -
trunk/Source/WebCore/ChangeLog
r96301 r96307 1 2011-09-29 Tim Horton <timothy_horton@apple.com> 2 3 REGRESSION(87010): elements in ECMA-cloud neither filled nor blurred 4 https://bugs.webkit.org/show_bug.cgi?id=68679 5 <rdar://problem/10204649> 6 7 Reviewed by Nikolas Zimmermann. 8 9 Strip prefixes from SVG attributes before testing if they're supported. 10 Namespaced attributes will be matched using their namespace instead of 11 the (user-choosable) prefix. 12 13 Test: svg/custom/xlink-custom-namespace.svg 14 15 * svg/SVGAElement.cpp: 16 (WebCore::SVGAElement::isSupportedAttribute): 17 * svg/SVGAnimateMotionElement.cpp: 18 (WebCore::SVGAnimateMotionElement::isSupportedAttribute): 19 * svg/SVGAnimateTransformElement.cpp: 20 (WebCore::SVGAnimateTransformElement::isSupportedAttribute): 21 * svg/SVGAnimationElement.cpp: 22 (WebCore::SVGAnimationElement::isSupportedAttribute): 23 * svg/SVGCircleElement.cpp: 24 (WebCore::SVGCircleElement::isSupportedAttribute): 25 * svg/SVGClipPathElement.cpp: 26 (WebCore::SVGClipPathElement::isSupportedAttribute): 27 * svg/SVGComponentTransferFunctionElement.cpp: 28 (WebCore::SVGComponentTransferFunctionElement::isSupportedAttribute): 29 * svg/SVGCursorElement.cpp: 30 (WebCore::SVGCursorElement::isSupportedAttribute): 31 * svg/SVGElement.h: 32 (WebCore::SVGAttributeHashTranslator::hash): 33 (WebCore::SVGAttributeHashTranslator::equal): 34 * svg/SVGEllipseElement.cpp: 35 (WebCore::SVGEllipseElement::isSupportedAttribute): 36 * svg/SVGExternalResourcesRequired.h: 37 * svg/SVGFEBlendElement.cpp: 38 (WebCore::SVGFEBlendElement::isSupportedAttribute): 39 * svg/SVGFEColorMatrixElement.cpp: 40 (WebCore::SVGFEColorMatrixElement::isSupportedAttribute): 41 * svg/SVGFEComponentTransferElement.cpp: 42 (WebCore::SVGFEComponentTransferElement::isSupportedAttribute): 43 * svg/SVGFECompositeElement.cpp: 44 (WebCore::SVGFECompositeElement::isSupportedAttribute): 45 * svg/SVGFEConvolveMatrixElement.cpp: 46 (WebCore::SVGFEConvolveMatrixElement::isSupportedAttribute): 47 * svg/SVGFEDiffuseLightingElement.cpp: 48 (WebCore::SVGFEDiffuseLightingElement::isSupportedAttribute): 49 * svg/SVGFEDisplacementMapElement.cpp: 50 (WebCore::SVGFEDisplacementMapElement::isSupportedAttribute): 51 * svg/SVGFEDropShadowElement.cpp: 52 (WebCore::SVGFEDropShadowElement::isSupportedAttribute): 53 * svg/SVGFEGaussianBlurElement.cpp: 54 (WebCore::SVGFEGaussianBlurElement::isSupportedAttribute): 55 * svg/SVGFEImageElement.cpp: 56 (WebCore::SVGFEImageElement::isSupportedAttribute): 57 * svg/SVGFELightElement.cpp: 58 (WebCore::SVGFELightElement::isSupportedAttribute): 59 * svg/SVGFEMergeNodeElement.cpp: 60 (WebCore::SVGFEMergeNodeElement::isSupportedAttribute): 61 * svg/SVGFEMorphologyElement.cpp: 62 (WebCore::SVGFEMorphologyElement::isSupportedAttribute): 63 * svg/SVGFEOffsetElement.cpp: 64 (WebCore::SVGFEOffsetElement::isSupportedAttribute): 65 * svg/SVGFESpecularLightingElement.cpp: 66 (WebCore::SVGFESpecularLightingElement::isSupportedAttribute): 67 * svg/SVGFETileElement.cpp: 68 (WebCore::SVGFETileElement::isSupportedAttribute): 69 * svg/SVGFETurbulenceElement.cpp: 70 (WebCore::SVGFETurbulenceElement::isSupportedAttribute): 71 * svg/SVGFilterElement.cpp: 72 (WebCore::SVGFilterElement::isSupportedAttribute): 73 * svg/SVGFilterPrimitiveStandardAttributes.cpp: 74 (WebCore::SVGFilterPrimitiveStandardAttributes::isSupportedAttribute): 75 * svg/SVGForeignObjectElement.cpp: 76 (WebCore::SVGForeignObjectElement::isSupportedAttribute): 77 * svg/SVGGElement.cpp: 78 (WebCore::SVGGElement::isSupportedAttribute): 79 * svg/SVGGradientElement.cpp: 80 (WebCore::SVGGradientElement::isSupportedAttribute): 81 * svg/SVGImageElement.cpp: 82 (WebCore::SVGImageElement::isSupportedAttribute): 83 * svg/SVGLineElement.cpp: 84 (WebCore::SVGLineElement::isSupportedAttribute): 85 * svg/SVGLinearGradientElement.cpp: 86 (WebCore::SVGLinearGradientElement::isSupportedAttribute): 87 * svg/SVGMPathElement.cpp: 88 (WebCore::SVGMPathElement::isSupportedAttribute): 89 * svg/SVGMarkerElement.cpp: 90 (WebCore::SVGMarkerElement::isSupportedAttribute): 91 * svg/SVGMaskElement.cpp: 92 (WebCore::SVGMaskElement::isSupportedAttribute): 93 * svg/SVGPathElement.cpp: 94 (WebCore::SVGPathElement::isSupportedAttribute): 95 * svg/SVGPatternElement.cpp: 96 (WebCore::SVGPatternElement::isSupportedAttribute): 97 * svg/SVGPolyElement.cpp: 98 (WebCore::SVGPolyElement::isSupportedAttribute): 99 * svg/SVGRadialGradientElement.cpp: 100 (WebCore::SVGRadialGradientElement::isSupportedAttribute): 101 * svg/SVGRectElement.cpp: 102 (WebCore::SVGRectElement::isSupportedAttribute): 103 * svg/SVGScriptElement.cpp: 104 (WebCore::SVGScriptElement::isSupportedAttribute): 105 * svg/SVGStopElement.cpp: 106 (WebCore::SVGStopElement::isSupportedAttribute): 107 * svg/SVGStyleElement.cpp: 108 (WebCore::SVGStyleElement::isSupportedAttribute): 109 * svg/SVGStyledTransformableElement.cpp: 110 (WebCore::SVGStyledTransformableElement::isSupportedAttribute): 111 * svg/SVGSymbolElement.cpp: 112 (WebCore::SVGSymbolElement::isSupportedAttribute): 113 * svg/SVGTRefElement.cpp: 114 (WebCore::SVGTRefElement::isSupportedAttribute): 115 * svg/SVGTextContentElement.cpp: 116 (WebCore::SVGTextContentElement::isSupportedAttribute): 117 * svg/SVGTextElement.cpp: 118 (WebCore::SVGTextElement::isSupportedAttribute): 119 * svg/SVGTextPathElement.cpp: 120 (WebCore::SVGTextPathElement::isSupportedAttribute): 121 * svg/SVGTextPositioningElement.cpp: 122 (WebCore::SVGTextPositioningElement::isSupportedAttribute): 123 * svg/SVGURIReference.cpp: 124 (WebCore::SVGURIReference::addSupportedAttributes): 125 * svg/SVGUseElement.cpp: 126 (WebCore::SVGUseElement::isSupportedAttribute): 127 * svg/SVGViewElement.cpp: 128 (WebCore::SVGViewElement::isSupportedAttribute): 129 1 130 2011-09-28 Kentaro Hara <haraken@chromium.org> 2 131 -
trunk/Source/WebCore/svg/SVGAElement.cpp
r95216 r96307 95 95 supportedAttributes.add(SVGNames::targetAttr); 96 96 } 97 return supportedAttributes.contains (attrName);97 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 98 98 } 99 99 -
trunk/Source/WebCore/svg/SVGAnimateMotionElement.cpp
r95216 r96307 93 93 if (supportedAttributes.isEmpty()) 94 94 supportedAttributes.add(SVGNames::pathAttr); 95 return supportedAttributes.contains (attrName);95 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 96 96 } 97 97 -
trunk/Source/WebCore/svg/SVGAnimateTransformElement.cpp
r95216 r96307 90 90 if (supportedAttributes.isEmpty()) 91 91 supportedAttributes.add(SVGNames::typeAttr); 92 return supportedAttributes.contains (attrName);92 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 93 93 } 94 94 -
trunk/Source/WebCore/svg/SVGAnimationElement.cpp
r95907 r96307 155 155 supportedAttributes.add(SVGNames::keySplinesAttr); 156 156 } 157 return supportedAttributes.contains (attrName);157 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 158 158 } 159 159 -
trunk/Source/WebCore/svg/SVGCircleElement.cpp
r92423 r96307 77 77 supportedAttributes.add(SVGNames::rAttr); 78 78 } 79 return supportedAttributes.contains (attrName);79 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 80 80 } 81 81 -
trunk/Source/WebCore/svg/SVGClipPathElement.cpp
r90680 r96307 68 68 supportedAttributes.add(SVGNames::clipPathUnitsAttr); 69 69 } 70 return supportedAttributes.contains (attrName);70 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 71 71 } 72 72 -
trunk/Source/WebCore/svg/SVGComponentTransferFunctionElement.cpp
r90680 r96307 72 72 supportedAttributes.add(SVGNames::offsetAttr); 73 73 } 74 return supportedAttributes.contains (attrName);74 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 75 75 } 76 76 -
trunk/Source/WebCore/svg/SVGCursorElement.cpp
r92423 r96307 76 76 supportedAttributes.add(SVGNames::yAttr); 77 77 } 78 return supportedAttributes.contains (attrName);78 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 79 79 } 80 80 -
trunk/Source/WebCore/svg/SVGElement.h
r94659 r96307 131 131 }; 132 132 133 struct SVGAttributeHashTranslator { 134 static unsigned hash(QualifiedName key) 135 { 136 key.setPrefix(nullAtom); 137 return DefaultHash<QualifiedName>::Hash::hash(key); 138 } 139 static bool equal(QualifiedName a, QualifiedName b) { return a.matches(b); } 140 }; 141 133 142 } 134 143 -
trunk/Source/WebCore/svg/SVGEllipseElement.cpp
r92423 r96307 79 79 supportedAttributes.add(SVGNames::ryAttr); 80 80 } 81 return supportedAttributes.contains (attrName);81 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 82 82 } 83 83 -
trunk/Source/WebCore/svg/SVGExternalResourcesRequired.h
r87010 r96307 24 24 #if ENABLE(SVG) 25 25 #include "QualifiedName.h" 26 #include "SVGElement.h" 26 27 #include <wtf/HashSet.h> 27 28 -
trunk/Source/WebCore/svg/SVGFEBlendElement.cpp
r90680 r96307 65 65 supportedAttributes.add(SVGNames::in2Attr); 66 66 } 67 return supportedAttributes.contains (attrName);67 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 68 68 } 69 69 -
trunk/Source/WebCore/svg/SVGFEColorMatrixElement.cpp
r90680 r96307 65 65 supportedAttributes.add(SVGNames::inAttr); 66 66 } 67 return supportedAttributes.contains (attrName);67 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 68 68 } 69 69 -
trunk/Source/WebCore/svg/SVGFEComponentTransferElement.cpp
r90680 r96307 60 60 if (supportedAttributes.isEmpty()) 61 61 supportedAttributes.add(SVGNames::inAttr); 62 return supportedAttributes.contains (attrName);62 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 63 63 } 64 64 -
trunk/Source/WebCore/svg/SVGFECompositeElement.cpp
r90680 r96307 77 77 supportedAttributes.add(SVGNames::k4Attr); 78 78 } 79 return supportedAttributes.contains (attrName);79 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 80 80 } 81 81 -
trunk/Source/WebCore/svg/SVGFEConvolveMatrixElement.cpp
r95901 r96307 117 117 supportedAttributes.add(SVGNames::preserveAlphaAttr); 118 118 } 119 return supportedAttributes.contains (attrName);119 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 120 120 } 121 121 -
trunk/Source/WebCore/svg/SVGFEDiffuseLightingElement.cpp
r90680 r96307 88 88 supportedAttributes.add(SVGNames::lighting_colorAttr); // Even though it's a SVG-CSS property, we override its handling here. 89 89 } 90 return supportedAttributes.contains (attrName);90 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 91 91 } 92 92 -
trunk/Source/WebCore/svg/SVGFEDisplacementMapElement.cpp
r90680 r96307 71 71 supportedAttributes.add(SVGNames::scaleAttr); 72 72 } 73 return supportedAttributes.contains (attrName);73 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 74 74 } 75 75 -
trunk/Source/WebCore/svg/SVGFEDropShadowElement.cpp
r95901 r96307 93 93 supportedAttributes.add(SVGNames::stdDeviationAttr); 94 94 } 95 return supportedAttributes.contains (attrName);95 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 96 96 } 97 97 -
trunk/Source/WebCore/svg/SVGFEGaussianBlurElement.cpp
r90680 r96307 83 83 supportedAttributes.add(SVGNames::stdDeviationAttr); 84 84 } 85 return supportedAttributes.contains (attrName);85 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 86 86 } 87 87 -
trunk/Source/WebCore/svg/SVGFEImageElement.cpp
r92047 r96307 97 97 supportedAttributes.add(SVGNames::preserveAspectRatioAttr); 98 98 } 99 return supportedAttributes.contains (attrName);99 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 100 100 } 101 101 -
trunk/Source/WebCore/svg/SVGFELightElement.cpp
r90680 r96307 104 104 supportedAttributes.add(SVGNames::limitingConeAngleAttr); 105 105 } 106 return supportedAttributes.contains (attrName);106 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 107 107 } 108 108 -
trunk/Source/WebCore/svg/SVGFEMergeNodeElement.cpp
r90680 r96307 57 57 if (supportedAttributes.isEmpty()) 58 58 supportedAttributes.add(SVGNames::inAttr); 59 return supportedAttributes.contains (attrName);59 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 60 60 } 61 61 -
trunk/Source/WebCore/svg/SVGFEMorphologyElement.cpp
r95901 r96307 86 86 supportedAttributes.add(SVGNames::radiusAttr); 87 87 } 88 return supportedAttributes.contains (attrName);88 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 89 89 } 90 90 -
trunk/Source/WebCore/svg/SVGFEOffsetElement.cpp
r90680 r96307 64 64 supportedAttributes.add(SVGNames::dyAttr); 65 65 } 66 return supportedAttributes.contains (attrName);66 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 67 67 } 68 68 -
trunk/Source/WebCore/svg/SVGFESpecularLightingElement.cpp
r90680 r96307 92 92 supportedAttributes.add(SVGNames::kernelUnitLengthAttr); 93 93 } 94 return supportedAttributes.contains (attrName);94 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 95 95 } 96 96 -
trunk/Source/WebCore/svg/SVGFETileElement.cpp
r90680 r96307 58 58 if (supportedAttributes.isEmpty()) 59 59 supportedAttributes.add(SVGNames::inAttr); 60 return supportedAttributes.contains (attrName);60 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 61 61 } 62 62 -
trunk/Source/WebCore/svg/SVGFETurbulenceElement.cpp
r90680 r96307 86 86 supportedAttributes.add(SVGNames::typeAttr); 87 87 } 88 return supportedAttributes.contains (attrName);88 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 89 89 } 90 90 -
trunk/Source/WebCore/svg/SVGFilterElement.cpp
r92423 r96307 118 118 supportedAttributes.add(SVGNames::filterResAttr); 119 119 } 120 return supportedAttributes.contains (attrName);120 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 121 121 } 122 122 -
trunk/Source/WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp
r92423 r96307 75 75 supportedAttributes.add(SVGNames::resultAttr); 76 76 } 77 return supportedAttributes.contains (attrName);77 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 78 78 } 79 79 -
trunk/Source/WebCore/svg/SVGForeignObjectElement.cpp
r95040 r96307 82 82 supportedAttributes.add(SVGNames::heightAttr); 83 83 } 84 return supportedAttributes.contains (attrName);84 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 85 85 } 86 86 -
trunk/Source/WebCore/svg/SVGGElement.cpp
r90680 r96307 61 61 SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); 62 62 } 63 return supportedAttributes.contains (attrName);63 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 64 64 } 65 65 -
trunk/Source/WebCore/svg/SVGGradientElement.cpp
r90680 r96307 73 73 supportedAttributes.add(SVGNames::spreadMethodAttr); 74 74 } 75 return supportedAttributes.contains (attrName);75 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 76 76 } 77 77 -
trunk/Source/WebCore/svg/SVGImageElement.cpp
r92423 r96307 89 89 supportedAttributes.add(SVGNames::preserveAspectRatioAttr); 90 90 } 91 return supportedAttributes.contains (attrName);91 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 92 92 } 93 93 -
trunk/Source/WebCore/svg/SVGLineElement.cpp
r92423 r96307 79 79 supportedAttributes.add(SVGNames::y2Attr); 80 80 } 81 return supportedAttributes.contains (attrName);81 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 82 82 } 83 83 -
trunk/Source/WebCore/svg/SVGLinearGradientElement.cpp
r92423 r96307 81 81 supportedAttributes.add(SVGNames::y2Attr); 82 82 } 83 return supportedAttributes.contains (attrName);83 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 84 84 } 85 85 -
trunk/Source/WebCore/svg/SVGMPathElement.cpp
r92047 r96307 57 57 SVGExternalResourcesRequired::addSupportedAttributes(supportedAttributes); 58 58 } 59 return supportedAttributes.contains (attrName);59 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 60 60 } 61 61 -
trunk/Source/WebCore/svg/SVGMarkerElement.cpp
r92423 r96307 123 123 supportedAttributes.add(SVGNames::orientAttr); 124 124 } 125 return supportedAttributes.contains (attrName);125 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 126 126 } 127 127 -
trunk/Source/WebCore/svg/SVGMaskElement.cpp
r92423 r96307 92 92 supportedAttributes.add(SVGNames::heightAttr); 93 93 } 94 return supportedAttributes.contains (attrName);94 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 95 95 } 96 96 -
trunk/Source/WebCore/svg/SVGPathElement.cpp
r91748 r96307 213 213 supportedAttributes.add(SVGNames::pathLengthAttr); 214 214 } 215 return supportedAttributes.contains (attrName);215 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 216 216 } 217 217 -
trunk/Source/WebCore/svg/SVGPatternElement.cpp
r92423 r96307 107 107 supportedAttributes.add(SVGNames::heightAttr); 108 108 } 109 return supportedAttributes.contains (attrName);109 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 110 110 } 111 111 -
trunk/Source/WebCore/svg/SVGPolyElement.cpp
r91748 r96307 75 75 supportedAttributes.add(SVGNames::pointsAttr); 76 76 } 77 return supportedAttributes.contains (attrName);77 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 78 78 } 79 79 -
trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp
r92423 r96307 85 85 supportedAttributes.add(SVGNames::rAttr); 86 86 } 87 return supportedAttributes.contains (attrName);87 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 88 88 } 89 89 -
trunk/Source/WebCore/svg/SVGRectElement.cpp
r92423 r96307 86 86 supportedAttributes.add(SVGNames::ryAttr); 87 87 } 88 return supportedAttributes.contains (attrName);88 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 89 89 } 90 90 -
trunk/Source/WebCore/svg/SVGScriptElement.cpp
r91404 r96307 67 67 supportedAttributes.add(HTMLNames::onerrorAttr); 68 68 } 69 return supportedAttributes.contains (attrName);69 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 70 70 } 71 71 -
trunk/Source/WebCore/svg/SVGStopElement.cpp
r90680 r96307 60 60 if (supportedAttributes.isEmpty()) 61 61 supportedAttributes.add(SVGNames::offsetAttr); 62 return supportedAttributes.contains (attrName);62 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 63 63 } 64 64 -
trunk/Source/WebCore/svg/SVGStyleElement.cpp
r93227 r96307 93 93 supportedAttributes.add(SVGNames::titleAttr); 94 94 } 95 return supportedAttributes.contains (attrName);95 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 96 96 } 97 97 -
trunk/Source/WebCore/svg/SVGStyledTransformableElement.cpp
r94558 r96307 82 82 if (supportedAttributes.isEmpty()) 83 83 supportedAttributes.add(SVGNames::transformAttr); 84 return supportedAttributes.contains (attrName);84 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 85 85 } 86 86 -
trunk/Source/WebCore/svg/SVGSymbolElement.cpp
r90680 r96307 62 62 SVGFitToViewBox::addSupportedAttributes(supportedAttributes); 63 63 } 64 return supportedAttributes.contains (attrName);64 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 65 65 } 66 66 -
trunk/Source/WebCore/svg/SVGTRefElement.cpp
r95791 r96307 156 156 if (supportedAttributes.isEmpty()) 157 157 SVGURIReference::addSupportedAttributes(supportedAttributes); 158 return supportedAttributes.contains (attrName);158 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 159 159 } 160 160 -
trunk/Source/WebCore/svg/SVGTextContentElement.cpp
r92423 r96307 226 226 supportedAttributes.add(SVGNames::textLengthAttr); 227 227 } 228 return supportedAttributes.contains (attrName);228 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 229 229 } 230 230 -
trunk/Source/WebCore/svg/SVGTextElement.cpp
r94558 r96307 61 61 if (supportedAttributes.isEmpty()) 62 62 supportedAttributes.add(SVGNames::transformAttr); 63 return supportedAttributes.contains (attrName);63 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 64 64 } 65 65 -
trunk/Source/WebCore/svg/SVGTextPathElement.cpp
r92423 r96307 70 70 supportedAttributes.add(SVGNames::spacingAttr); 71 71 } 72 return supportedAttributes.contains (attrName);72 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 73 73 } 74 74 -
trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp
r90680 r96307 66 66 supportedAttributes.add(SVGNames::rotateAttr); 67 67 } 68 return supportedAttributes.contains (attrName);68 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 69 69 } 70 70 -
trunk/Source/WebCore/svg/SVGURIReference.cpp
r92047 r96307 74 74 void SVGURIReference::addSupportedAttributes(HashSet<QualifiedName>& supportedAttributes) 75 75 { 76 DEFINE_STATIC_LOCAL(AtomicString, xlinkPrefix, ("xlink"));77 QualifiedName hrefWithPrefix = XLinkNames::hrefAttr;78 hrefWithPrefix.setPrefix(xlinkPrefix);79 supportedAttributes.add(hrefWithPrefix);80 76 supportedAttributes.add(XLinkNames::hrefAttr); 81 77 } -
trunk/Source/WebCore/svg/SVGUseElement.cpp
r95372 r96307 127 127 supportedAttributes.add(SVGNames::heightAttr); 128 128 } 129 return supportedAttributes.contains (attrName);129 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 130 130 } 131 131 -
trunk/Source/WebCore/svg/SVGViewElement.cpp
r90680 r96307 66 66 supportedAttributes.add(SVGNames::viewTargetAttr); 67 67 } 68 return supportedAttributes.contains (attrName);68 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslator>(attrName); 69 69 } 70 70
Note: See TracChangeset
for help on using the changeset viewer.