mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 03:27:15 +02: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
Notes:
sideshowbarker
2024-07-16 22:11:09 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/c0d594568d Pull-request: https://github.com/SerenityOS/serenity/pull/23586
@@ -35,8 +35,8 @@ interface HTMLTextAreaElement : HTMLElement {
|
||||
// FIXME: readonly attribute NodeList labels;
|
||||
|
||||
// FIXME: undefined select();
|
||||
// FIXME: attribute unsigned long selectionStart;
|
||||
// FIXME: attribute unsigned long selectionEnd;
|
||||
attribute unsigned long selectionStart;
|
||||
attribute unsigned long selectionEnd;
|
||||
// FIXME: attribute DOMString selectionDirection;
|
||||
// FIXME: undefined setRangeText(DOMString replacement);
|
||||
// FIXME: undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
||||
|
||||
Reference in New Issue
Block a user