/src/serenity/Userland/Libraries/LibWeb/Layout/BreakNode.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Layout/BlockContainer.h> |
8 | | #include <LibWeb/Layout/BreakNode.h> |
9 | | #include <LibWeb/Layout/InlineFormattingContext.h> |
10 | | |
11 | | namespace Web::Layout { |
12 | | |
13 | | JS_DEFINE_ALLOCATOR(BreakNode); |
14 | | |
15 | | BreakNode::BreakNode(DOM::Document& document, HTML::HTMLBRElement& element, NonnullRefPtr<CSS::StyleProperties> style) |
16 | 0 | : Layout::NodeWithStyleAndBoxModelMetrics(document, &element, move(style)) |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | 0 | BreakNode::~BreakNode() = default; |
21 | | |
22 | | } |