mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
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:
parent
96d13f75cf
commit
11ff9d0f17
178 changed files with 516 additions and 523 deletions
|
@ -33,11 +33,11 @@ namespace Web {
|
|||
|
||||
class LayoutReplaced : public LayoutBox {
|
||||
public:
|
||||
LayoutReplaced(Document&, const Element&, NonnullRefPtr<StyleProperties>);
|
||||
LayoutReplaced(DOM::Document&, const DOM::Element&, NonnullRefPtr<StyleProperties>);
|
||||
virtual ~LayoutReplaced() override;
|
||||
|
||||
const Element& node() const { return downcast<Element>(*LayoutNode::node()); }
|
||||
Element& node() { return downcast<Element>(*LayoutNode::node()); }
|
||||
const DOM::Element& node() const { return downcast<DOM::Element>(*LayoutNode::node()); }
|
||||
DOM::Element& node() { return downcast<DOM::Element>(*LayoutNode::node()); }
|
||||
|
||||
virtual bool is_replaced() const final { return true; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue