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

Unified Diff: LayoutTests/fast/multicol/caret-range-outside-columns-rtl-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/multicol/caret-range-outside-columns-rtl-expected.txt
diff --git a/LayoutTests/fast/multicol/caret-range-outside-columns-rtl-expected.txt b/LayoutTests/fast/multicol/caret-range-outside-columns-rtl-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53a54df5337c4a156693716e88d86c28b1572e13
--- /dev/null
+++ b/LayoutTests/fast/multicol/caret-range-outside-columns-rtl-expected.txt
@@ -0,0 +1,58 @@
+Test that hitting areas outside columns takes us to the right text content inside columns.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Above first column:
+PASS document.caretRangeFromPoint(450,0).startOffset is 0
+PASS document.caretRangeFromPoint(350,0).startOffset is 0
+PASS document.caretRangeFromPoint(291,0).startOffset is 0
+Above second column:
+PASS document.caretRangeFromPoint(290,0).startOffset is 12
+PASS document.caretRangeFromPoint(250,0).startOffset is 12
+PASS document.caretRangeFromPoint(191,0).startOffset is 12
+Above third column:
+PASS document.caretRangeFromPoint(190,0).startOffset is 24
+PASS document.caretRangeFromPoint(150,0).startOffset is 24
+PASS document.caretRangeFromPoint(50,0).startOffset is 24
+Below first column:
+PASS document.caretRangeFromPoint(450,100).startOffset is 12
+PASS document.caretRangeFromPoint(350,100).startOffset is 12
+PASS document.caretRangeFromPoint(291,100).startOffset is 12
+Below second column:
+PASS document.caretRangeFromPoint(290,100).startOffset is 24
+PASS document.caretRangeFromPoint(250,100).startOffset is 24
+PASS document.caretRangeFromPoint(191,100).startOffset is 24
+To the right of the first column:
+PASS document.caretRangeFromPoint(400,10).startOffset is 0
+PASS document.caretRangeFromPoint(400,30).startOffset is 0
+PASS document.caretRangeFromPoint(400,50).startOffset is 4
+PASS document.caretRangeFromPoint(400,70).startOffset is 8
+PASS document.caretRangeFromPoint(400,90).startOffset is 12
+To the left of the third column:
+PASS document.caretRangeFromPoint(0,10).startOffset is 24
+PASS document.caretRangeFromPoint(0,30).startOffset is 27
+PASS document.caretRangeFromPoint(0,50).startOffset is 31
+PASS document.caretRangeFromPoint(0,70).startOffset is 35
+In the gap between the first and second columns:
+PASS document.caretRangeFromPoint(291,20).startOffset is 3
+PASS document.caretRangeFromPoint(291,40).startOffset is 7
+PASS document.caretRangeFromPoint(291,60).startOffset is 11
+PASS document.caretRangeFromPoint(291,69).startOffset is 11
+PASS document.caretRangeFromPoint(290,20).startOffset is 12
+PASS document.caretRangeFromPoint(290,40).startOffset is 16
+PASS document.caretRangeFromPoint(290,60).startOffset is 20
+PASS document.caretRangeFromPoint(290,69).startOffset is 20
+In the gap between the second and third columns:
+PASS document.caretRangeFromPoint(191,20).startOffset is 15
+PASS document.caretRangeFromPoint(191,40).startOffset is 19
+PASS document.caretRangeFromPoint(191,60).startOffset is 23
+PASS document.caretRangeFromPoint(191,69).startOffset is 23
+PASS document.caretRangeFromPoint(190,20).startOffset is 24
+PASS document.caretRangeFromPoint(190,40).startOffset is 28
+PASS document.caretRangeFromPoint(190,60).startOffset is 32
+PASS document.caretRangeFromPoint(190,69).startOffset is 32
+PASS successfullyParsed is true
+
+TEST COMPLETE
+xxx xxx xxx xxx xxx xxx xxx xxx xxx

Powered by Google App Engine
This is Rietveld 408576698