summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutListItem.h
blob: c06aff083f3f7a9e2f881332815b14892aa6ff74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <LibHTML/DOM/Element.h>
#include <LibHTML/Layout/LayoutBlock.h>

class LayoutListItemMarker;

class LayoutListItem final : public LayoutBlock {
public:
    LayoutListItem(const Element&, NonnullRefPtr<StyleProperties>);
    virtual ~LayoutListItem() override;

    virtual void layout() override;

private:
    virtual const char* class_name() const override { return "LayoutListItem"; }

    RefPtr<LayoutListItemMarker> m_marker;
};