ladybird/Libraries/LibHTML/Layout/LayoutInline.h
Andreas Kling c8e5039418 LibHTML: LayoutInline can only be constructed with an Element
Since LayoutText no longer inherits from LayoutInline, all of the
DOM nodes with a LayoutInline are going to be Elements.
2019-10-06 11:26:34 +02:00

15 lines
320 B
C++

#pragma once
#include <LibHTML/Layout/LayoutNode.h>
class LayoutBlock;
class LayoutInline : public LayoutNode {
public:
LayoutInline(const Element&, NonnullRefPtr<StyleProperties>);
virtual ~LayoutInline() override;
virtual const char* class_name() const override { return "LayoutInline"; }
private:
};