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

Side by Side Diff: LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt

Issue 424973003: Don't clear selection on focus change except for text form control element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-08-13T13:21:11 Created 6 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 unified diff | Download patch
OLDNEW
1 This tests that the width of textareas and inputs is correctly calculated based on the metrics of the SVG font. 1 Selection should be kept after focus changed.
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 selection.anchorNode is sample
7 PASS selection.anchorOffset is 3
8 PASS selection.focusNode is sample
9 PASS selection.focusOffset is 6
6 PASS successfullyParsed is true 10 PASS successfullyParsed is true
7 11
8 TEST COMPLETE 12 TEST COMPLETE
9 Textarea offsetWidth: 137
10 Input offsetWidth: 139
11 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698