1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

LibWeb: Stub HTMLInputElement.setSelectionRange

Required by Twitter to move the input caret of the 2FA <input> element
to the start. However, we don't currently handle individual <input>
element selections.
This commit is contained in:
Luke Wilde 2022-12-30 23:00:11 +00:00 committed by Tim Flynn
parent 6d188d72c0
commit 1011067a60
3 changed files with 11 additions and 0 deletions

View file

@ -38,6 +38,8 @@ interface HTMLInputElement : HTMLElement {
[Reflect] attribute DOMString align;
[Reflect=usemap] attribute DOMString useMap;
undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
undefined showPicker();
};