mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 00:27:47 +00:00
LibWeb: Implement Element.insertAdjacentElement
This commit is contained in:
parent
f27f2e0d3b
commit
d540e2ec98
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/Lubrsi
Commit: d540e2ec98
Pull-request: https://github.com/SerenityOS/serenity/pull/15400
3 changed files with 56 additions and 0 deletions
|
@ -144,6 +144,8 @@ public:
|
|||
|
||||
bool is_actually_disabled() const;
|
||||
|
||||
WebIDL::ExceptionOr<JS::GCPtr<Element>> insert_adjacent_element(String const& where, JS::NonnullGCPtr<Element> element);
|
||||
|
||||
protected:
|
||||
Element(Document&, DOM::QualifiedName);
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
|
@ -155,6 +157,8 @@ protected:
|
|||
private:
|
||||
void make_html_uppercased_qualified_name();
|
||||
|
||||
WebIDL::ExceptionOr<JS::GCPtr<Node>> insert_adjacent(String const& where, JS::NonnullGCPtr<Node> node);
|
||||
|
||||
QualifiedName m_qualified_name;
|
||||
String m_html_uppercased_qualified_name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue