add style rule for bidirectional text on input, to match textarea
(cherry picked from commit be40dddd14ac8d80a5fcde344dd9a443f9dc8b60)