This tests double clicking inside and at the end of an editable div. The selection that is created should not extend outside the editable region.

This text is in an editable div.
This text is outside the editable region.