1. htmlinputelement api: selectiondirection

  2. htmltextareaelement api: selectiondirection