mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibWeb: Implement setRangeText for input and textarea elements
This method replaces range of text in its respective element with a new string
This commit is contained in:
committed by
Andreas Kling
parent
206262cd55
commit
2f5b070716
@@ -79,6 +79,9 @@ public:
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-textarea/input-relevant-value
|
||||
virtual String relevant_value() override { return value(); }
|
||||
WebIDL::ExceptionOr<void> set_relevant_value(String const& value) override { return set_value(value); }
|
||||
|
||||
virtual void set_dirty_value_flag(bool flag) override { m_dirty_value = flag; }
|
||||
|
||||
void commit_pending_changes();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user