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

Unified Diff: LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-expected.txt
diff --git a/LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-expected.txt b/LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..742b84f6a9e48fbe4c4114004e7b784ef682d324
--- /dev/null
+++ b/LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-expected.txt
@@ -0,0 +1,35 @@
+Test that hitting areas outside a paged container takes us to the right text content on some page.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Below page 1:
+PASS document.caretRangeFromPoint(499,320).startOffset is 0
+PASS document.caretRangeFromPoint(430,320).startOffset is 0
+PASS document.caretRangeFromPoint(390,320).startOffset is 4
+Above page 1:
+PASS document.caretRangeFromPoint(499,0).startOffset is 0
+PASS document.caretRangeFromPoint(430,0).startOffset is 3
+PASS document.caretRangeFromPoint(390,0).startOffset is 7
+To the right of page 1:
+PASS document.caretRangeFromPoint(499,320).startOffset is 0
+PASS document.caretRangeFromPoint(499,250).startOffset is 0
+PASS document.caretRangeFromPoint(499,0).startOffset is 0
+Scroll to page 2
+Below page 2:
+PASS document.caretRangeFromPoint(449,320).startOffset is 12
+PASS document.caretRangeFromPoint(330,320).startOffset is 20
+Above page 2:
+PASS document.caretRangeFromPoint(449,0).startOffset is 15
+PASS document.caretRangeFromPoint(330,0).startOffset is 23
+Scroll to page 3
+Below page 3:
+PASS document.caretRangeFromPoint(449,320).startOffset is 24
+PASS document.caretRangeFromPoint(330,320).startOffset is 32
+Above page 3:
+PASS document.caretRangeFromPoint(449,0).startOffset is 27
+PASS document.caretRangeFromPoint(330,0).startOffset is 35
+PASS successfullyParsed is true
+
+TEST COMPLETE
+xxx xxx xxx xxx xxx xxx xxx xxx xxx

Powered by Google App Engine
This is Rietveld 408576698