1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 03:58:12 +00:00

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.
This commit is contained in:
Andreas Kling 2019-06-29 21:42:07 +02:00
parent 6e95b11395
commit 7eef69ad4b
20 changed files with 132 additions and 131 deletions

View file

@ -6,7 +6,7 @@ class Element;
class LayoutBlock : public LayoutNode {
public:
explicit LayoutBlock(Element&);
explicit LayoutBlock(const Node&);
virtual ~LayoutBlock() override;
virtual const char* class_name() const override { return "LayoutBlock"; }