support empty delimiter in textView.getSelectionText
fix primary selection color on chrome