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

This commit is contained in:
Andreas Kling 2020-07-28 18:20:36 +02:00
commit c46439f240
Notes: sideshowbarker 2024-07-19 04:30:24 +09:00
82 changed files with 238 additions and 247 deletions

View file

@ -33,10 +33,10 @@ namespace Web {
class LayoutBreak final : public LayoutNodeWithStyleAndBoxModelMetrics {
public:
LayoutBreak(DOM::Document&, const HTMLBRElement&);
LayoutBreak(DOM::Document&, const HTML::HTMLBRElement&);
virtual ~LayoutBreak() override;
const HTMLBRElement& node() const { return downcast<HTMLBRElement>(*LayoutNode::node()); }
const HTML::HTMLBRElement& node() const { return downcast<HTML::HTMLBRElement>(*LayoutNode::node()); }
private:
virtual bool is_break() const override { return true; }