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

Unified Diff: LayoutTests/accessibility/textarea-insertion-point-line-number.html

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/accessibility/textarea-insertion-point-line-number.html
diff --git a/LayoutTests/accessibility/textarea-insertion-point-line-number.html b/LayoutTests/accessibility/textarea-insertion-point-line-number.html
index f2a6161f966ba09286e71dac94496c9f69d84570..946d0ba53e662b182f0e4f042bd6ea369bc60873 100644
--- a/LayoutTests/accessibility/textarea-insertion-point-line-number.html
+++ b/LayoutTests/accessibility/textarea-insertion-point-line-number.html
@@ -49,7 +49,7 @@ line 3
"contenteditableAXUIElement.insertionPointLineNumber;", "0");
var contenteditableLine2 = document.getElementById("contenteditable-line2");
- shouldBe("contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;" +
+ shouldBe("contenteditableLine2.focus(); contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;" +
"contenteditableAXUIElement.insertionPointLineNumber;", "-1");
var contenteditableLine3 = document.getElementById("contenteditable-line3");
« no previous file with comments | « no previous file | LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698