/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::Layout { class ListItemMarkerBox; class ListItemBox final : public BlockBox { public: ListItemBox(DOM::Document&, DOM::Element&, NonnullRefPtr); virtual ~ListItemBox() override; void layout_marker(); DOM::Element& dom_node() { return static_cast(*BlockBox::dom_node()); } DOM::Element const& dom_node() const { return static_cast(*BlockBox::dom_node()); } private: RefPtr m_marker; }; }