Line boundary getText* functions tests

Bug 853340 Bug 855732 Bug 882292 Bug 947170

hello my friend
hello my friend
hello my friend

        oneword

    two words

      oneword

    two words

      oneword

    two words

      oneword

    two words

      oneword

    two words

Hello world

- Item
- a long and winding road that lead me to your door
- a b c
- hello

1. Item
3. a long and winding road that lead me to your door
4. a b c
5. hello

sectiounus

seciofarus

Line 1
Line 3

Block

- Li

a b
c d
a
b c
d e
a b
c d
e
a b
c

d

a b
c d

e

a
b c d
a b
c
a b
cd
e f
a
b
c
Line 1
Line 2
Line 3
Line 4
a

b
a b
c
a
b d
a
c d
a
b c d
a
b c d

Foo
Bar

Foo
Bar