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

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

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
Index: LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt
diff --git a/LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt b/LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt
index 2c96f197133ff54119c04e02e598d9d581902a3b..da7d5d13f9b6da5c23f38aced8016dabfcf18960 100644
--- a/LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt
+++ b/LayoutTests/accessibility/textarea-insertion-point-line-number-expected.txt
@@ -8,7 +8,7 @@ PASS area1.selectionStart = (7); area1.selectionEnd = (7); area1AXUIElement.inse
PASS area1.selectionStart = (14); area1.selectionEnd = (14); area1AXUIElement.insertionPointLineNumber; is currentLine
PASS area2.focus(); area1AXUIElement.insertionPointLineNumber; is -1
PASS window.getSelection().setBaseAndExtent(contenteditableLine1, 1, contenteditableLine1, 1); contenteditableAXUIElement.insertionPointLineNumber; is 0
-PASS contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;contenteditableAXUIElement.insertionPointLineNumber; is -1
+PASS contenteditableLine2.focus(); contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;contenteditableAXUIElement.insertionPointLineNumber; is -1
PASS window.getSelection().setBaseAndExtent(contenteditableLine3, 1, contenteditableLine3, 1); contenteditableAXUIElement.insertionPointLineNumber; is 2
PASS textareaAXUIElement.insertionPointLineNumber is 0
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698