Prerequisites: A Hebrew font.

dir=auto, start with dir, then L

same

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

דהו

ABCאבג.

דהו

ABCאבג.

דהו

ABCאבג.

דהו

ABCאבג.

Assertion: When dir='auto', the direction is set according to the first strong character of the text while ignoring contained elements with an explicit dir of their own. In this test, it is the Latin letter A, thus the direction must be resolved as LTR.

Next test
HTML5

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