1 This confirms that settin the caret before an empty non-editable inline-block element with height.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS getSelection().rangeCount is 1
7 PASS getSelection().anchorNode is p
8 PASS getSelection().anchorOffset is 0
9 PASS getSelection().anchorNode is getSelection().focusNode
10 PASS getSelection().anchorOffset is getSelection().focusOffset
11 PASS internals.absoluteCaretBounds().left is span.getBoundingClientRect().left
12 PASS getSelection().rangeCount is 1
13 PASS getSelection().anchorNode is p
14 PASS getSelection().anchorOffset is 1
15 PASS getSelection().anchorNode is getSelection().focusNode
16 PASS getSelection().anchorOffset is getSelection().focusOffset
17 PASS internals.absoluteCaretBounds().left is span.getBoundingClientRect().right
18 PASS successfullyParsed is true