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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/selection-functions.html

Issue 2706033004: Don't throw when getting selection(Direction|Start|End) on input (Closed)
Patch Set: Refine test 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/LayoutTests/fast/forms/selection-functions.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/selection-functions.html b/third_party/WebKit/LayoutTests/fast/forms/selection-functions.html
index 71faa29d66ebbf25ffdf04f8d9570a6ee527ec42..177ffa36b6cc615dca4985a0d2e6754f36f29c1a 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/selection-functions.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/selection-functions.html
@@ -35,6 +35,8 @@
testButtonSelectionAccess(elt, ".selectionStart = 0");
testButtonSelectionAccess(elt, ".selectionEnd");
testButtonSelectionAccess(elt, ".selectionEnd = 0");
+ testButtonSelectionAccess(elt, ".selectionDirection");
+ testButtonSelectionAccess(elt, ".selectionDirection = 'none'");
// Make sure that setSelectionRange is defined on the button element,
// but throws an exception if called.
if (elt.setSelectionRange != undefined) {

Powered by Google App Engine
This is Rietveld 408576698