mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
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."
18 lines
370 B
C++
18 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:
|
|
};
|