mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
HTML: Partially implement HTMLInputElement's selection{Start,End}
Now that the implementation is in FormAssociatedElement, the implementation in HTMLInputElement is effectively just a passthrough, with some minor differences to handle small behavioural quirks between the two (such as the difference in nullability of types).
This commit is contained in:
parent
62bf428a7f
commit
9f24176cac
Notes:
github-actions[bot]
2024-08-01 10:17:51 +00:00
Author: https://github.com/shannonbooth
Commit: 9f24176cac
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/876
7 changed files with 114 additions and 11 deletions
|
@ -90,10 +90,10 @@ public:
|
|||
virtual void reset_algorithm() {};
|
||||
|
||||
WebIDL::UnsignedLong selection_start() const;
|
||||
WebIDL::ExceptionOr<void> set_selection_start(WebIDL::UnsignedLong);
|
||||
WebIDL::ExceptionOr<void> set_selection_start(Optional<WebIDL::UnsignedLong> const&);
|
||||
|
||||
WebIDL::UnsignedLong selection_end() const;
|
||||
WebIDL::ExceptionOr<void> set_selection_end(WebIDL::UnsignedLong);
|
||||
WebIDL::ExceptionOr<void> set_selection_end(Optional<WebIDL::UnsignedLong> const&);
|
||||
|
||||
protected:
|
||||
FormAssociatedElement() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue