2020-10-05 16:14:36 -07:00
|
|
|
/*
|
2021-04-22 16:53:07 -07:00
|
|
|
* Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
|
2020-10-05 16:14:36 -07:00
|
|
|
*
|
2021-04-22 01:24:48 -07:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-10-05 16:14:36 -07:00
|
|
|
*/
|
|
|
|
|
2020-11-22 15:53:01 +01:00
|
|
|
#include <LibWeb/Layout/SVGSVGBox.h>
|
2022-03-10 22:38:08 +01:00
|
|
|
#include <LibWeb/Painting/SVGSVGPaintable.h>
|
2020-10-05 16:14:36 -07:00
|
|
|
|
2020-11-22 15:53:01 +01:00
|
|
|
namespace Web::Layout {
|
2020-10-05 16:14:36 -07:00
|
|
|
|
2020-11-22 15:53:01 +01:00
|
|
|
SVGSVGBox::SVGSVGBox(DOM::Document& document, SVG::SVGSVGElement& element, NonnullRefPtr<CSS::StyleProperties> properties)
|
|
|
|
: SVGGraphicsBox(document, element, properties)
|
2020-10-05 16:14:36 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-03-10 22:38:08 +01:00
|
|
|
RefPtr<Painting::Paintable> SVGSVGBox::create_paintable() const
|
|
|
|
{
|
|
|
|
return Painting::SVGSVGPaintable::create(*this);
|
|
|
|
}
|
|
|
|
|
2020-10-05 16:14:36 -07:00
|
|
|
}
|