Files
ladybird/LibHTML/Layout/LayoutDocument.h
Andreas Kling 22fec1a250 LibHTML: Start fleshing out block layout.
The basic idea of block layout is: width, then children based on width,
then height based on height of children.
2019-07-01 07:31:04 +02:00

16 lines
458 B
C++

#pragma once
#include <LibHTML/Layout/LayoutBlock.h>
#include <LibHTML/DOM/Document.h>
class LayoutDocument final : public LayoutBlock {
public:
explicit LayoutDocument(const Document&);
virtual ~LayoutDocument() override;
const Document& node() const { return static_cast<const Document&>(*LayoutNode::node()); }
virtual const char* class_name() const override { return "LayoutDocument"; }
virtual void layout() override;
private:
};