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

@ -34,6 +34,8 @@
//#define DRAW_BOXES_AROUND_LAYOUT_NODES
//#define DRAW_BOXES_AROUND_HOVERED_NODES
namespace Web {
void LayoutBox::paint_border(RenderingContext& context, Edge edge, const Gfx::FloatRect& rect, CSS::PropertyID style_property_id, CSS::PropertyID color_property_id, CSS::PropertyID width_property_id)
{
auto border_width = style().property(width_property_id);
@ -238,3 +240,5 @@ bool LayoutBox::is_body() const
{
return node() && node() == document().body();
}
}