aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLTextAreaElement.webidl
diff options
context:
space:
mode:
authorAlberto Corona <ac@albertocorona.com>2016-03-15 09:03:05 -0500
committerAdrian Utrilla <adrianutrilla@gmail.com>2016-04-17 17:27:26 +0200
commit5e863f2eb8c261ed05c46310b8f8a125b8ed9f04 (patch)
tree9da74c7c6e9fd27720668bd96cdbccffa94c5e9d /components/script/dom/webidls/HTMLTextAreaElement.webidl
parentdb4481b4509db4be83e0f77a66884feccd1878e0 (diff)
downloadservo-5e863f2eb8c261ed05c46310b8f8a125b8ed9f04.tar.gz
servo-5e863f2eb8c261ed05c46310b8f8a125b8ed9f04.zip
Implement HTMLTextArea.setSelectionRange
Diffstat (limited to 'components/script/dom/webidls/HTMLTextAreaElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLTextAreaElement.webidl8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/HTMLTextAreaElement.webidl b/components/script/dom/webidls/HTMLTextAreaElement.webidl
index 797a537d0cc..e5e2cabdb78 100644
--- a/components/script/dom/webidls/HTMLTextAreaElement.webidl
+++ b/components/script/dom/webidls/HTMLTextAreaElement.webidl
@@ -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);
};