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 inside an editable div 

This text is not editable.