Bug 1094009 - Follow text selection pattern

https://bugzilla.mozilla.org/show_bug.cgi?id=1094009
This creates a way for the cases that require ordinary elements able to be selected.