LibWeb: Stub out HTMLElement.outerText

This commit is contained in:
Andreas Kling 2024-04-14 18:26:44 +02:00
commit 4cc972a8ae
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00
3 changed files with 31 additions and 2 deletions

View file

@ -42,6 +42,9 @@ public:
String inner_text();
void set_inner_text(StringView);
[[nodiscard]] String outer_text();
WebIDL::ExceptionOr<void> set_outer_text(String);
int offset_top() const;
int offset_left() const;
int offset_width() const;
@ -87,6 +90,8 @@ private:
virtual JS::GCPtr<DOM::EventTarget> global_event_handlers_to_event_target(FlyString const&) override { return *this; }
virtual void did_receive_focus() override;
[[nodiscard]] String get_the_text_steps();
JS::GCPtr<DOMStringMap> m_dataset;
enum class ContentEditableState {