mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 04:32:51 +00:00
Inline layout now happens in the containing block, specifically in LayoutBlock::layout_inline_children().
18 lines
425 B
C++
18 lines
425 B
C++
#pragma once
|
|
|
|
#include <LibHTML/Layout/LayoutNode.h>
|
|
|
|
class LayoutBlock;
|
|
|
|
class LayoutInline : public LayoutNode {
|
|
public:
|
|
LayoutInline(const Node&, StyleProperties&&);
|
|
virtual ~LayoutInline() override;
|
|
|
|
virtual const char* class_name() const override { return "LayoutInline"; }
|
|
virtual bool is_inline() const override { return true; }
|
|
|
|
virtual void split_into_lines(LayoutBlock& container);
|
|
|
|
private:
|
|
};
|