mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibWeb: Partially implement <textarea>'s selectionStart and selectionEnd
This implementation pretends we never have a selection. GitHub relies on these values to know where to insert text corresponding to file uploads.
This commit is contained in:
committed by
Andreas Kling
parent
abc1be5b9e
commit
c0d594568d
@@ -84,6 +84,12 @@ public:
|
||||
bool report_validity();
|
||||
void set_custom_validity(String const& error);
|
||||
|
||||
WebIDL::UnsignedLong selection_start() const;
|
||||
WebIDL::ExceptionOr<void> set_selection_start(WebIDL::UnsignedLong);
|
||||
|
||||
WebIDL::UnsignedLong selection_end() const;
|
||||
WebIDL::ExceptionOr<void> set_selection_end(WebIDL::UnsignedLong);
|
||||
|
||||
WebIDL::Long max_length() const;
|
||||
WebIDL::ExceptionOr<void> set_max_length(WebIDL::Long);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user