mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Stub out HTMLElement.outerText
This commit is contained in:
parent
e610346fab
commit
4cc972a8ae
Notes:
sideshowbarker
2024-07-17 06:51:10 +09:00
Author: https://github.com/awesomekling
Commit: 4cc972a8ae
Pull-request: https://github.com/SerenityOS/serenity/pull/23964
3 changed files with 31 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue