#include "config.h"
#if SVG_SUPPORT
#include "SVGGElement.h"
#include <kcanvas/KCanvasCreator.h>
#include <kcanvas/RenderSVGContainer.h>
#include <kcanvas/device/KRenderingDevice.h>
using namespace WebCore;
SVGGElement::SVGGElement(const QualifiedName& tagName, Document *doc) : SVGStyledTransformableElement(tagName, doc), SVGTests(), SVGLangSpace(), SVGExternalResourcesRequired()
{
}
SVGGElement::~SVGGElement()
{
}
void SVGGElement::parseMappedAttribute(MappedAttribute *attr)
{
if(SVGTests::parseMappedAttribute(attr)) return;
if(SVGLangSpace::parseMappedAttribute(attr)) return;
if(SVGExternalResourcesRequired::parseMappedAttribute(attr)) return;
SVGStyledTransformableElement::parseMappedAttribute(attr);
}
RenderObject* SVGGElement::createRenderer(RenderArena* arena, RenderStyle* style)
{
return new (arena) RenderSVGContainer(this);
}
SVGDummyElement::SVGDummyElement(const QualifiedName& tagName, Document *doc) : SVGGElement(tagName, doc), m_localName("dummy")
{
}
SVGDummyElement::~SVGDummyElement()
{
}
const AtomicString& SVGDummyElement::localName() const
{
return m_localName;
}
#endif // SVG_SUPPORT