Implement HTMLTextArea.setSelectionRange

This commit is contained in:
Alberto Corona
2016-03-15 09:03:05 -05:00
committed by Adrian Utrilla
parent db4481b450
commit 5e863f2eb8
7 changed files with 150 additions and 178 deletions

View File

@@ -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);
};