1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 00:25:08 +00:00
serenity/LibHTML/Layout/LayoutBlock.h
Andreas Kling 7eef69ad4b LibHTML: Refactor to go from DOM -> styled tree -> layout tree.
Frame::layout() drives everything now, it takes the DOM contained in the
frame and puts it through the tree transformations.
2019-06-29 21:42:07 +02:00

17 lines
323 B
C++

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