mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 23:42:53 +03:00
LibWeb: Remove DOM element deprecated_tag_name()
This commit is contained in:
parent
02d8aaa2e8
commit
c477f90df7
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/c477f90df7 Pull-request: https://github.com/SerenityOS/serenity/pull/22777 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/shannonbooth ✅
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/ByteString.h>
|
|
||||||
#include <LibWeb/ARIA/ARIAMixin.h>
|
#include <LibWeb/ARIA/ARIAMixin.h>
|
||||||
#include <LibWeb/Bindings/ElementPrototype.h>
|
#include <LibWeb/Bindings/ElementPrototype.h>
|
||||||
#include <LibWeb/Bindings/Intrinsics.h>
|
#include <LibWeb/Bindings/Intrinsics.h>
|
||||||
@ -82,7 +81,6 @@ public:
|
|||||||
|
|
||||||
// NOTE: This is for the JS bindings
|
// NOTE: This is for the JS bindings
|
||||||
FlyString const& tag_name() const { return html_uppercased_qualified_name(); }
|
FlyString const& tag_name() const { return html_uppercased_qualified_name(); }
|
||||||
ByteString deprecated_tag_name() const { return html_uppercased_qualified_name().to_deprecated_fly_string(); }
|
|
||||||
|
|
||||||
Optional<FlyString> const& prefix() const { return m_qualified_name.prefix(); }
|
Optional<FlyString> const& prefix() const { return m_qualified_name.prefix(); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user