/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::Layout { class InlineNode : public NodeWithStyleAndBoxModelMetrics { public: InlineNode(DOM::Document&, DOM::Element&, NonnullRefPtr); virtual ~InlineNode() override; virtual void paint_fragment(PaintContext&, const LineBoxFragment&, PaintPhase) const override; virtual void split_into_lines(InlineFormattingContext&, LayoutMode) override; }; }