1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:35:08 +00:00
serenity/Libraries/LibHTML/Layout/LayoutListItemMarker.h
Andreas Kling f5bf8f6380 LibHTML: Add LayoutNode classes for "display: list-item" and its marker
This patch removes the hard-coded hack for "display: list-item" from
LayoutBlock and adds LayoutListItem and LayoutListItemMarker.

Elements with "display: list-item" now generate a LayoutListItem, which
may then also generate a LayoutListItemMarker if appropriate. :^)
2019-10-11 23:16:53 +02:00

14 lines
345 B
C++

#pragma once
#include <LibHTML/Layout/LayoutNode.h>
class LayoutListItemMarker final : public LayoutNode {
public:
LayoutListItemMarker();
virtual ~LayoutListItemMarker() override;
virtual void render(RenderingContext&) override;
private:
virtual const char* class_name() const override { return "LayoutListItemMarker"; }
};