LibWeb: Move DOM classes into the Web::DOM namespace

LibWeb keeps growing and the Web namespace is filling up fast.
Let's put DOM stuff into Web::DOM, just like we already started doing
with SVG stuff in Web::SVG.
This commit is contained in:
Andreas Kling 2020-07-26 19:37:56 +02:00
commit 11ff9d0f17
Notes: sideshowbarker 2024-07-19 04:35:48 +09:00
178 changed files with 516 additions and 523 deletions

View file

@ -35,7 +35,7 @@
namespace Web {
LayoutNode::LayoutNode(Document& document, const Node* node)
LayoutNode::LayoutNode(DOM::Document& document, const DOM::Node* node)
: m_document(document)
, m_node(node)
{
@ -208,7 +208,7 @@ bool LayoutNode::is_fixed_position() const
return position == CSS::Position::Fixed;
}
LayoutNodeWithStyle::LayoutNodeWithStyle(Document& document, const Node* node, NonnullRefPtr<StyleProperties> specified_style)
LayoutNodeWithStyle::LayoutNodeWithStyle(DOM::Document& document, const DOM::Node* node, NonnullRefPtr<StyleProperties> specified_style)
: LayoutNode(document, node)
, m_specified_style(move(specified_style))
{