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 InlineNode final : public NodeWithStyleAndBoxModelMetrics {
14 JS_CELL(InlineNode, NodeWithStyleAndBoxModelMetrics);
15
16public:
17 InlineNode(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
18 virtual ~InlineNode() override;
19
20 virtual JS::GCPtr<Painting::Paintable> create_paintable() const override;
21};
22
23}