mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02: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
Notes:
github-actions[bot]
2024-08-31 09:50:48 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/2f5b0707163 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1223 Reviewed-by: https://github.com/awesomekling
@@ -61,8 +61,8 @@ interface HTMLInputElement : HTMLElement {
|
||||
attribute unsigned long? selectionStart;
|
||||
attribute unsigned long? selectionEnd;
|
||||
attribute DOMString? selectionDirection;
|
||||
[FIXME] undefined setRangeText(DOMString replacement);
|
||||
[FIXME] undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
||||
undefined setRangeText(DOMString replacement);
|
||||
undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
||||
undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
||||
|
||||
undefined showPicker();
|
||||
|
||||
Reference in New Issue
Block a user