mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
LibWeb: Move HTML classes into the Web::HTML namespace
This commit is contained in:
parent
ebd2e7d9f5
commit
c46439f240
Notes:
sideshowbarker
2024-07-19 04:30:24 +09:00
Author: https://github.com/awesomekling
Commit: c46439f240
82 changed files with 238 additions and 247 deletions
|
@ -31,9 +31,7 @@
|
|||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/Loader/ImageLoader.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
class LayoutDocument;
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLObjectElement final : public HTMLElement {
|
||||
public:
|
||||
|
@ -56,6 +54,6 @@ private:
|
|||
|
||||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTMLObjectElement)
|
||||
AK_BEGIN_TYPE_TRAITS(Web::HTML::HTMLObjectElement)
|
||||
static bool is_type(const Web::DOM::Node& node) { return node.is_element() && downcast<Web::DOM::Element>(node).local_name() == Web::HTML::TagNames::object; }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue