mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Move HTML classes into the Web::HTML namespace
This commit is contained in:
@@ -32,9 +32,7 @@
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/Loader/ImageLoader.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
class LayoutDocument;
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLImageElement final : public HTMLElement {
|
||||
public:
|
||||
@@ -62,6 +60,6 @@ private:
|
||||
|
||||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTMLImageElement)
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTML::HTMLImageElement)
|
||||
static bool is_type(const Web::DOM::Node& node) { return node.is_element() && downcast<Web::DOM::Element>(node).local_name() == Web::HTML::TagNames::img; }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
||||
Reference in New Issue
Block a user