Testing left of the image | |
PASS: range.startContainer == image.previousSibling. | |
PASS: range.startOffset == 34. | |
Testing right of the image | |
PASS: range.startContainer == image.nextSibling. | |
PASS: range.startOffset == 1. | |
Testing on the image | |
PASS: range.startContainer == image.parentNode. | |
PASS: range.startOffset == 2. | |