Coverage Report

Created: 2025-11-16 07:46

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/CSS/StyleValues/GridAutoFlowStyleValue.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include "GridAutoFlowStyleValue.h"
8
9
namespace Web::CSS {
10
11
ValueComparingNonnullRefPtr<GridAutoFlowStyleValue> GridAutoFlowStyleValue::create(Axis axis, Dense dense)
12
0
{
13
0
    return adopt_ref(*new GridAutoFlowStyleValue(axis, dense));
14
0
}
15
16
String GridAutoFlowStyleValue::to_string() const
17
0
{
18
0
    StringBuilder builder;
19
0
    if (m_row)
20
0
        builder.append("row"sv);
21
0
    else
22
0
        builder.append("column"sv);
23
0
    if (m_dense)
24
0
        builder.append(" dense"sv);
25
0
    return MUST(builder.to_string());
26
0
}
27
28
}