Make dir property case insensitive, fixes #18400.
For lack of a better place, tests added to _BidiSupport/form/test_TimeTextBox.html.