mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02: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). (cherry picked from commit 9f24176cac862c42c9cf4d3ac0e757397a5f6ae1)
This commit is contained in:
committed by
Nico Weber
parent
744b0e2d02
commit
b37d0b4bbb
@@ -58,8 +58,8 @@ interface HTMLInputElement : HTMLElement {
|
||||
readonly attribute NodeList? labels;
|
||||
|
||||
undefined select();
|
||||
[FIXME] attribute unsigned long? selectionStart;
|
||||
[FIXME] attribute unsigned long? selectionEnd;
|
||||
[ImplementedAs=selection_start_for_bindings] attribute unsigned long? selectionStart;
|
||||
[ImplementedAs=selection_end_for_bindings] 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