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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/text-iterator/findString-start-search-after-selection-expected.txt

Issue 2709443002: Selection API: addRange() should be ignored if there is an existing Range. (Closed)
Patch Set: . Created 3 years, 10 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 CONSOLE ERROR: line 29: Discontiguous selection is not supported.
2 The _before_selection_ word is before the selection, so we shouldn't be able to find it if span_to_select is selected. 1 The _before_selection_ word is before the selection, so we shouldn't be able to find it if span_to_select is selected.
3 The _in_selection_ word is in the selection and we should always be able to find it. 2 The _in_selection_ word is in the selection and we should always be able to find it.
4 The _after_selection_ word is after the selection and we should always be able t o find that too. 3 The _after_selection_ word is after the selection and we should always be able t o find that too.
5 PASS testRunner.findString("_before_selection_", []) is true 4 PASS testRunner.findString("_before_selection_", []) is true
6 PASS testRunner.findString("_in_selection_", []) is true 5 PASS testRunner.findString("_in_selection_", []) is true
7 PASS testRunner.findString("_after_selection_", []) is true 6 PASS testRunner.findString("_after_selection_", []) is true
8 Selecting some text. This should make it not possible to find the _before_select ion_ word without enabling wrap-around. 7 Selecting some text. This should make it not possible to find the _before_select ion_ word without enabling wrap-around.
9 PASS testRunner.findString("_before_selection_", []) is false 8 PASS testRunner.findString("_before_selection_", []) is false
10 PASS testRunner.findString("_in_selection_", []) is true 9 PASS testRunner.findString("_in_selection_", []) is true
11 PASS testRunner.findString("_after_selection_", []) is true 10 PASS testRunner.findString("_after_selection_", []) is true
12 PASS successfullyParsed is true 11 PASS successfullyParsed is true
13 12
14 TEST COMPLETE 13 TEST COMPLETE
15 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698