Currently, text selection is quite cumbersome from time to time. When elements have padding, margin or any other visual distances, these distances are ignored by Firefox and text selection is extended to areas not even close to the mouse cursor:
May I suggest to implement an improved text selection that’s considering computed visual distances?
My animation has been taken from this (random) web page: