Coverage Report

Created: 2025-08-28 06:26

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