summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutDocument.h
blob: 88acbb8e698ac5254394b6716985fbd25692ce0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <LibHTML/DOM/Document.h>
#include <LibHTML/Layout/LayoutBlock.h>

class LayoutDocument final : public LayoutBlock {
public:
    LayoutDocument(const Document&, StyleProperties&&);
    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:
};