summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/ListItemBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/ListItemBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/ListItemBox.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/ListItemBox.h b/Userland/Libraries/LibWeb/Layout/ListItemBox.h
index 4181b25ec7..eb08aea4fb 100644
--- a/Userland/Libraries/LibWeb/Layout/ListItemBox.h
+++ b/Userland/Libraries/LibWeb/Layout/ListItemBox.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
+ * Copyright (c) 2018-2022, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -11,18 +11,17 @@
namespace Web::Layout {
-class ListItemMarkerBox;
-
class ListItemBox final : public BlockContainer {
public:
ListItemBox(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
virtual ~ListItemBox() override;
- void layout_marker();
-
DOM::Element& dom_node() { return static_cast<DOM::Element&>(*BlockContainer::dom_node()); }
DOM::Element const& dom_node() const { return static_cast<DOM::Element const&>(*BlockContainer::dom_node()); }
+ ListItemMarkerBox const* marker() const { return m_marker; }
+ void set_marker(RefPtr<ListItemMarkerBox>);
+
private:
RefPtr<ListItemMarkerBox> m_marker;
};