Prerequisites: A Hebrew font.

input with dir=auto, script assigns to start with N+EN+R

same

Test passes if the two boxes below look exactly the same.

Assertion: When dir='auto', the direction of an input element is set according to the first strong character of its value. In this test, it is the Hebrew letter Alef since neutrals and digits are not strongly directional, thus the direction must be resolved as RTL.

Next test
HTML5

bidi-html5-051
Result summary & related tests
Detailed results for this test