mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
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.
This commit is contained in:
parent
f1a0e8b8e6
commit
22fec1a250
5 changed files with 32 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibHTML/Layout/LayoutNode.h>
|
||||
#include <LibHTML/Layout/LayoutBlock.h>
|
||||
#include <LibHTML/DOM/Document.h>
|
||||
|
||||
class LayoutDocument final : public LayoutNode {
|
||||
class LayoutDocument final : public LayoutBlock {
|
||||
public:
|
||||
explicit LayoutDocument(const Document&);
|
||||
virtual ~LayoutDocument() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue