1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00
serenity/Libraries/LibHTML/Layout/LayoutInline.h
Andreas Kling 09dccb3224 LibHTML: Flesh out <img> element with LayoutImage and LayoutReplaced
This patch adds parsing of <img> into HTMLImageElement objects.
It also adds LayoutImage and its parent class LayoutReplaced, which is
going to represent CSS "replaced elements."
2019-10-05 23:29:01 +02:00

17 lines
370 B
C++

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