1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

LibWeb: Implement Element.insertAdjacentText

This commit is contained in:
Luke Wilde 2022-10-01 00:30:38 +01:00 committed by Andreas Kling
parent d540e2ec98
commit 540c307009
3 changed files with 14 additions and 0 deletions

View file

@ -145,6 +145,7 @@ public:
bool is_actually_disabled() const;
WebIDL::ExceptionOr<JS::GCPtr<Element>> insert_adjacent_element(String const& where, JS::NonnullGCPtr<Element> element);
WebIDL::ExceptionOr<void> insert_adjacent_text(String const& where, String const& data);
protected:
Element(Document&, DOM::QualifiedName);