Truly independent web browser
/*
* Copyright (c) 2026, Sam Atkins <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Bindings/SVGSwitchElement.h>
#include <LibWeb/CSS/ElementBoxKind.h>
#include <LibWeb/SVG/SVGSwitchElement.h>
namespace Web::SVG {
GC_DEFINE_ALLOCATOR(SVGSwitchElement);
SVGSwitchElement::SVGSwitchElement(DOM::Document& document, DOM::QualifiedName qualified_name)
: SVGGraphicsElement(document, move(qualified_name))
{
}
SVGSwitchElement::~SVGSwitchElement() = default;
CSS::ElementBoxKind SVGSwitchElement::box_kind() const
{
return CSS::ElementBoxKind::SvgGraphics;
}
}