mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
Implement HTMLTextArea.setSelectionRange
This commit is contained in:
committed by
Adrian Utrilla
parent
db4481b450
commit
5e863f2eb8
@@ -38,11 +38,11 @@ interface HTMLTextAreaElement : HTMLElement {
|
||||
readonly attribute NodeList labels;
|
||||
|
||||
//void select();
|
||||
// attribute unsigned long selectionStart;
|
||||
// attribute unsigned long selectionEnd;
|
||||
// attribute DOMString selectionDirection;
|
||||
attribute unsigned long selectionStart;
|
||||
attribute unsigned long selectionEnd;
|
||||
attribute DOMString selectionDirection;
|
||||
//void setRangeText(DOMString replacement);
|
||||
//void setRangeText(DOMString replacement, unsigned long start, unsigned long end,
|
||||
// optional SelectionMode selectionMode = "preserve");
|
||||
//void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
||||
void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user