Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.idl

Issue 2706033004: Don't throw when getting selection(Direction|Start|End) on input (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLInputElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.idl b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
index b11c22922b3cd0937889e33e6f3148b4bd97be2f..dbdf035947751614859f9c9902f9194e4aeded60 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
@@ -79,9 +79,9 @@ interface HTMLInputElement : HTMLElement {
readonly attribute NodeList labels;
void select();
- [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned long selectionStart;
- [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned long selectionEnd;
- [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMString selectionDirection;
+ [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned long? selectionStart;
+ [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned long? selectionEnd;
+ [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMString? selectionDirection;
[RaisesException] void setRangeText(DOMString replacement);
[RaisesException] void setRangeText(DOMString replacement,
unsigned long start,

Powered by Google App Engine
This is Rietveld 408576698