HTML: Put HTMLTextAreaElement selection helpers in FormAssociatedElement

This will allow us to more closely follow the spec and share these
functions with HTMLInputElement.
This commit is contained in:
Shannon Booth 2024-07-28 15:55:09 +12:00 committed by Andreas Kling
parent 28ed8e5d0f
commit 62bf428a7f
Notes: github-actions[bot] 2024-08-01 10:17:57 +00:00
4 changed files with 64 additions and 63 deletions

View file

@ -84,12 +84,6 @@ 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);