1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +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

@ -35,6 +35,8 @@
#include <LibHTML/Layout/LayoutNode.h>
#include <LibHTML/Layout/LayoutText.h>
namespace Web {
Node::Node(Document& document, NodeType type)
: m_document(document)
, m_type(type)
@ -114,3 +116,5 @@ bool Node::is_link() const
return false;
return enclosing_link->has_attribute("href");
}
}