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

Side by Side Diff: LayoutTests/fast/pagination/caret-range-outside-paged-y-expected.txt

Issue 978603003: [New Multicolumn] Make positionForPoint() work. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More tests Created 5 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Test that hitting areas outside a paged container takes us to the right text con tent on some page.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Above page 1:
7 PASS document.caretRangeFromPoint(50,0).startOffset is 0
8 PASS document.caretRangeFromPoint(150,0).startOffset is 0
9 PASS document.caretRangeFromPoint(300,0).startOffset is 0
10 To the left of page 1:
11 PASS document.caretRangeFromPoint(0,20).startOffset is 0
12 PASS document.caretRangeFromPoint(0,60).startOffset is 0
13 PASS document.caretRangeFromPoint(0,100).startOffset is 4
14 PASS document.caretRangeFromPoint(0,140).startOffset is 8
15 To the right of page 1:
16 PASS document.caretRangeFromPoint(400,20).startOffset is 0
17 PASS document.caretRangeFromPoint(400,60).startOffset is 3
18 PASS document.caretRangeFromPoint(400,100).startOffset is 7
19 PASS document.caretRangeFromPoint(400,140).startOffset is 11
20 Scroll to page 2
21 To the left of page 2:
22 PASS document.caretRangeFromPoint(0,60).startOffset is 12
23 PASS document.caretRangeFromPoint(0,100).startOffset is 16
24 PASS document.caretRangeFromPoint(0,140).startOffset is 20
25 To the right of page 2:
26 PASS document.caretRangeFromPoint(400,60).startOffset is 15
27 PASS document.caretRangeFromPoint(400,100).startOffset is 19
28 PASS document.caretRangeFromPoint(400,140).startOffset is 23
29 Scroll to page 3
30 To the left of page 3:
31 PASS document.caretRangeFromPoint(0,60).startOffset is 24
32 PASS document.caretRangeFromPoint(0,100).startOffset is 28
33 PASS document.caretRangeFromPoint(0,140).startOffset is 32
34 To the right of page 3:
35 PASS document.caretRangeFromPoint(400,60).startOffset is 27
36 PASS document.caretRangeFromPoint(400,100).startOffset is 31
37 PASS document.caretRangeFromPoint(400,140).startOffset is 35
38 PASS successfullyParsed is true
39
40 TEST COMPLETE
41 xxx xxx xxx xxx xxx xxx xxx xxx xxx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698