Index: Source/core/html/HTMLTextAreaElement.idl |
diff --git a/Source/core/html/HTMLTextAreaElement.idl b/Source/core/html/HTMLTextAreaElement.idl |
index ea7ca760f41738b09f32065c1b6f22482c9260d9..0ad6f19a1cc5af95d85a4bd6dc78de53d2f2afc9 100644 |
--- a/Source/core/html/HTMLTextAreaElement.idl |
+++ b/Source/core/html/HTMLTextAreaElement.idl |
@@ -53,19 +53,16 @@ interface HTMLTextAreaElement : HTMLElement { |
readonly attribute NodeList labels; |
void select(); |
- // TODO(philipj): selectionStart and selectionEnd should be unsigned long. |
- attribute long selectionStart; |
- attribute long selectionEnd; |
+ attribute unsigned long selectionStart; |
+ attribute unsigned long selectionEnd; |
attribute DOMString selectionDirection; |
[RaisesException] void setRangeText(DOMString replacement); |
[RaisesException] void setRangeText(DOMString replacement, |
unsigned long start, |
unsigned long end, |
optional SelectionMode selectionMode = "preserve"); |
- // TODO(philipj): The start and end arguments should be unsigned long and |
- // should not be optional. |
- void setSelectionRange([Default=Undefined] optional long start, |
- [Default=Undefined] optional long end, |
+ void setSelectionRange(unsigned long start, |
+ unsigned long end, |
optional DOMString direction); |
// HTML autocapitalize proposal |