diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-04 16:16:50 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-04 16:16:50 +0200 |
commit | 04b9dc2d30cfc9b383029f6a4b02e2725108b0ae (patch) | |
tree | e117a998173b767f9fd009d49c4f8573d8b85432 /Libraries/LibHTML/Layout/LayoutBlock.cpp | |
parent | 63814ffebf16291419745cd8ba29a4d2fd888563 (diff) | |
download | serenity-04b9dc2d30cfc9b383029f6a4b02e2725108b0ae.zip |
Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutBlock.cpp')
-rw-r--r-- | Libraries/LibHTML/Layout/LayoutBlock.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutBlock.cpp b/Libraries/LibHTML/Layout/LayoutBlock.cpp new file mode 100644 index 0000000000..602f09dfa5 --- /dev/null +++ b/Libraries/LibHTML/Layout/LayoutBlock.cpp @@ -0,0 +1,28 @@ +#include <LibHTML/DOM/Element.h> +#include <LibHTML/Layout/LayoutBlock.h> + +LayoutBlock::LayoutBlock(const Node& node, const StyledNode& styled_node) + : LayoutNode(&node, styled_node) +{ +} + +LayoutBlock::~LayoutBlock() +{ +} + +void LayoutBlock::layout() +{ + compute_width(); + + LayoutNode::layout(); + + compute_height(); +} + +void LayoutBlock::compute_width() +{ +} + +void LayoutBlock::compute_height() +{ +} |