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

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

Issue 2274103002: setSelectionRange() for INPUT and TEXTAREA should not set "none" direction on non-macOS platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/HTMLTextAreaElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
index e07061632b175d50cb34d7814c95745508d66f6e..acc5c54f8828cf8cf6d5ed9b7eda322ea4b7816b 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.idl
@@ -64,6 +64,7 @@ interface HTMLTextAreaElement : HTMLElement {
optional SelectionMode selectionMode = "preserve");
// TODO(foolip): The start and end arguments should be unsigned long and
// should not be optional.
+ [ImplementedAs=setSelectionRangeForBinding]
void setSelectionRange([Default=Undefined] optional long start,
[Default=Undefined] optional long end,
optional DOMString direction);

Powered by Google App Engine
This is Rietveld 408576698