Serenity Operating System
1/*
2 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#pragma once
8
9#include <LibWeb/Layout/Box.h>
10
11namespace Web::Layout {
12
13class TableRowBox final : public Box {
14 JS_CELL(TableRowBox, Box);
15
16public:
17 TableRowBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
18 TableRowBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
19 virtual ~TableRowBox() override;
20
21 static CSS::Display static_display(bool) { return CSS::Display { CSS::Display::Internal::TableRow }; }
22};
23
24}