mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Move HTML classes into the Web::HTML namespace
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 04:30:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c46439f2406
@@ -29,7 +29,7 @@
|
||||
#include <AK/Function.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
|
||||
namespace Web {
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLScriptElement : public HTMLElement {
|
||||
public:
|
||||
@@ -69,6 +69,6 @@ private:
|
||||
|
||||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTMLScriptElement)
|
||||
static bool is_type(const Web::DOM::Node& node) { return node.is_html_element() && downcast<Web::HTMLElement>(node).local_name() == Web::HTML::TagNames::script; }
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTML::HTMLScriptElement)
|
||||
static bool is_type(const Web::DOM::Node& node) { return node.is_html_element() && downcast<Web::HTML::HTMLElement>(node).local_name() == Web::HTML::TagNames::script; }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
||||
Reference in New Issue
Block a user