Prerequisites: A Hebrew font.

dir=auto, start with bdi, then R

same

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

DEFאבגABC.
DEFאבגABC.
DEFאבגABC.
DEFאבגABC.

Assertion: When dir='auto', the direction is set according to the first strong character of the text while ignoring bdi elements. In this test, it is the Hebrew letter Alef, thus the direction must be resolved as RTL.

Next test
HTML5

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