/* * Copyright (c) 2018-2022, Andreas Kling * Copyright (c) 2021, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #include namespace Web::Layout { InlineNode::InlineNode(DOM::Document& document, DOM::Element* element, NonnullRefPtr style) : Layout::NodeWithStyleAndBoxModelMetrics(document, element, move(style)) { } InlineNode::~InlineNode() = default; JS::GCPtr InlineNode::create_paintable() const { return Painting::InlinePaintable::create(*this); } }