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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/shift-click-expected.txt

Issue 2966473002: Convert editing/selection/shift-click.html to use assert_selection() (Closed)
Patch Set: 2017-07-03T15:30:45 Rebase Created 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/selection/shift-click.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests that shift+clicking does the platform correct behavior.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS window.getSelection().toString() is correct
7 PASS Selection direction is correct.
8 PASS window.getSelection().toString() is correct
9 PASS Selection direction is correct.
10 PASS window.getSelection().toString() is correct
11 PASS Selection direction is correct.
12 FAIL window.getSelection().toString() is "one two three
13 four five " and should be "one two three
14 four five"
15 PASS Selection direction is correct.
16 FAIL window.getSelection().toString() is "two three
17 four five six" and should be "two three
18 four five"
19 PASS Selection direction is correct.
20 PASS window.getSelection().toString() is correct
21 PASS Selection direction is correct.
22 PASS window.getSelection().toString() is correct
23 PASS Selection direction is correct.
24 PASS window.getSelection().toString() is correct
25 PASS Selection direction is correct.
26 PASS window.getSelection().toString() is correct
27 PASS Selection direction is correct.
28 PASS window.getSelection().toString() is correct
29 FAIL Selection direction is not correct. Expected a backward selection.[anchorNo de: [object Text](two three) anchorOffset: 0 focusNode: [object Text](two three) focusOffset: 3 isCollapsed: false]
30 PASS successfullyParsed is true
31
32 TEST COMPLETE
33 one two three
34 four five six
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/selection/shift-click.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698