Coverage Report

Created: 2025-12-18 07:52

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/CSS/LengthBox.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
3
 * Copyright (c) 2022, Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
4
 *
5
 * SPDX-License-Identifier: BSD-2-Clause
6
 */
7
8
#include "LengthBox.h"
9
10
namespace Web::CSS {
11
12
LengthBox::LengthBox()
13
0
    : m_top(Length::make_auto())
14
0
    , m_right(Length::make_auto())
15
0
    , m_bottom(Length::make_auto())
16
0
    , m_left(Length::make_auto())
17
0
{
18
0
}
19
20
LengthBox::LengthBox(LengthPercentage top, LengthPercentage right, LengthPercentage bottom, LengthPercentage left)
21
0
    : m_top(top)
22
0
    , m_right(right)
23
0
    , m_bottom(bottom)
24
0
    , m_left(left)
25
0
{
26
0
}
27
28
0
LengthBox::~LengthBox() = default;
29
30
}