Coverage Report

Created: 2025-09-05 06:52

/src/serenity/Userland/Libraries/LibWeb/CSS/Clip.cpp
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright (c) 2022, the SerenityOS developers.
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include "Clip.h"
8
9
namespace Web::CSS {
10
11
Clip::Clip(Type type, EdgeRect edge_rect)
12
0
    : m_type(type)
13
0
    , m_edge_rect(edge_rect)
14
0
{
15
0
}
16
17
Clip::Clip(EdgeRect edge_rect)
18
0
    : m_type(Type::Rect)
19
0
    , m_edge_rect(edge_rect)
20
0
{
21
0
}
22
23
Clip Clip::make_auto()
24
0
{
25
0
    return Clip(Type::Auto, EdgeRect { Length::make_auto(), Length::make_auto(), Length::make_auto(), Length::make_auto() });
26
0
}
27
28
}