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

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

Issue 258063005: Blink does not respect input.selectionStart and input.selectionEnd for some cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing changes asked in previous patch 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 unified diff | Download patch
OLDNEW
1 This tests that lineNumberForPosition is reported correctly for textarea and con tenteditable elements. 1 This tests that lineNumberForPosition is reported correctly for textarea and con tenteditable elements.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS area1.selectionStart = (0); area1.selectionEnd = (0); area1AXUIElement.inse rtionPointLineNumber; is currentLine 6 PASS area1.selectionStart = (0); area1.selectionEnd = (0); area1AXUIElement.inse rtionPointLineNumber; is currentLine
7 PASS area1.selectionStart = (7); area1.selectionEnd = (7); area1AXUIElement.inse rtionPointLineNumber; is currentLine 7 PASS area1.selectionStart = (7); area1.selectionEnd = (7); area1AXUIElement.inse rtionPointLineNumber; is currentLine
8 PASS area1.selectionStart = (14); area1.selectionEnd = (14); area1AXUIElement.in sertionPointLineNumber; is currentLine 8 PASS area1.selectionStart = (14); area1.selectionEnd = (14); area1AXUIElement.in sertionPointLineNumber; is currentLine
9 PASS area2.focus(); area1AXUIElement.insertionPointLineNumber; is -1 9 PASS area2.focus(); area1AXUIElement.insertionPointLineNumber; is -1
10 PASS window.getSelection().setBaseAndExtent(contenteditableLine1, 1, contentedit ableLine1, 1); contenteditableAXUIElement.insertionPointLineNumber; is 0 10 PASS window.getSelection().setBaseAndExtent(contenteditableLine1, 1, contentedit ableLine1, 1); contenteditableAXUIElement.insertionPointLineNumber; is 0
11 PASS contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;contenteditableAXUIElement.insertionPointLineNumber; is -1 11 PASS contenteditableLine2.selectionStart = 1; contenteditableLine2.selectionEnd = 1;contenteditableAXUIElement.insertionPointLineNumber; is 0
12 PASS window.getSelection().setBaseAndExtent(contenteditableLine3, 1, contentedit ableLine3, 1); contenteditableAXUIElement.insertionPointLineNumber; is 2 12 PASS window.getSelection().setBaseAndExtent(contenteditableLine3, 1, contentedit ableLine3, 1); contenteditableAXUIElement.insertionPointLineNumber; is 2
13 PASS textareaAXUIElement.insertionPointLineNumber is 0 13 PASS textareaAXUIElement.insertionPointLineNumber is 0
14 PASS successfullyParsed is true 14 PASS successfullyParsed is true
15 15
16 TEST COMPLETE 16 TEST COMPLETE
17 17
18 Line1 18 Line1
19 19
20 Line3 20 Line3
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/textarea-insertion-point-line-number.html ('k') | LayoutTests/editing/deleting/5290534.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698