1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +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

@ -27,6 +27,8 @@
#include <LibGUI/Painter.h>
#include <LibHTML/Layout/LayoutListItemMarker.h>
namespace Web {
LayoutListItemMarker::LayoutListItemMarker()
: LayoutBox(nullptr, StyleProperties::create())
{
@ -44,3 +46,5 @@ void LayoutListItemMarker::render(RenderingContext& context)
auto color = parent()->style().color_or_fallback(CSS::PropertyID::Color, document(), context.palette().base_text());
context.painter().fill_rect(bullet_rect, color);
}
}