/src/serenity/Userland/Libraries/LibWeb/Layout/SVGGraphicsBox.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Layout/SVGGraphicsBox.h> |
8 | | #include <LibWeb/Painting/SVGGraphicsPaintable.h> |
9 | | #include <LibWeb/Painting/StackingContext.h> |
10 | | |
11 | | namespace Web::Layout { |
12 | | |
13 | | SVGGraphicsBox::SVGGraphicsBox(DOM::Document& document, SVG::SVGGraphicsElement& element, NonnullRefPtr<CSS::StyleProperties> properties) |
14 | 0 | : SVGBox(document, element, properties) |
15 | 0 | { |
16 | 0 | } |
17 | | |
18 | | JS::GCPtr<Painting::Paintable> SVGGraphicsBox::create_paintable() const |
19 | 0 | { |
20 | 0 | return Painting::SVGGraphicsPaintable::create(*this); |
21 | 0 | } |
22 | | |
23 | | } |