1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

LibWeb: Move everything into the Web namespace

This commit is contained in:
Andreas Kling 2020-03-07 10:27:02 +01:00
parent 6a3b12664a
commit 7a6c4a72d5
143 changed files with 593 additions and 45 deletions

View file

@ -28,6 +28,8 @@
#include <LibHTML/Layout/LayoutBlock.h>
#include <LibHTML/Layout/LayoutReplaced.h>
namespace Web {
LayoutReplaced::LayoutReplaced(const Element& element, NonnullRefPtr<StyleProperties> style)
: LayoutBox(&element, move(style))
{
@ -48,3 +50,5 @@ void LayoutReplaced::split_into_lines(LayoutBlock& container)
line_box = &container.add_line_box();
line_box->add_fragment(*this, 0, 0, width(), height());
}
}