/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::Layout { class InlineNode : public NodeWithStyleAndBoxModelMetrics { JS_CELL(InlineNode, NodeWithStyleAndBoxModelMetrics); public: InlineNode(DOM::Document&, DOM::Element*, NonnullRefPtr); virtual ~InlineNode() override; virtual RefPtr create_paintable() const override; }; }