diff options
Diffstat (limited to 'Source/WebCore/svg/SVGGElement.cpp')
| -rw-r--r-- | Source/WebCore/svg/SVGGElement.cpp | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Source/WebCore/svg/SVGGElement.cpp b/Source/WebCore/svg/SVGGElement.cpp index 233aa74..f7a48ec 100644 --- a/Source/WebCore/svg/SVGGElement.cpp +++ b/Source/WebCore/svg/SVGGElement.cpp @@ -66,12 +66,6 @@ void SVGGElement::svgAttributeChanged(const QualifiedName& attrName) if (!renderer) return; - if (SVGStyledTransformableElement::isKnownAttribute(attrName)) { - renderer->setNeedsTransformUpdate(); - RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); - return; - } - if (SVGLangSpace::isKnownAttribute(attrName) || SVGExternalResourcesRequired::isKnownAttribute(attrName)) RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer); @@ -93,6 +87,17 @@ void SVGGElement::synchronizeProperty(const QualifiedName& attrName) SVGTests::synchronizeProperties(this, attrName); } +AttributeToPropertyTypeMap& SVGGElement::attributeToPropertyTypeMap() +{ + DEFINE_STATIC_LOCAL(AttributeToPropertyTypeMap, s_attributeToPropertyTypeMap, ()); + return s_attributeToPropertyTypeMap; +} + +void SVGGElement::fillAttributeToPropertyTypeMap() +{ + SVGStyledTransformableElement::fillPassedAttributeToPropertyTypeMap(attributeToPropertyTypeMap()); +} + RenderObject* SVGGElement::createRenderer(RenderArena* arena, RenderStyle* style) { // SVG 1.1 testsuite explicitely uses constructs like <g display="none"><linearGradient> |
