12345678910111213141516171819202122 |
- /*
- * Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
- #include <LibWeb/Layout/ReplacedBox.h>
- #include <LibWeb/Painting/SVGSVGPaintable.h>
- namespace Web::Layout {
- SVGSVGBox::SVGSVGBox(DOM::Document& document, SVG::SVGSVGElement& element, NonnullRefPtr<CSS::StyleProperties> properties)
- : ReplacedBox(document, element, move(properties))
- {
- }
- RefPtr<Painting::Paintable> SVGSVGBox::create_paintable() const
- {
- return Painting::SVGSVGPaintable::create(*this);
- }
- }
|