Prerequisites: A Hebrew font.

dir=auto, start with dir, 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 contained elements with an explicit dir of their own. In this test, it is the Hebrew letter Alef, thus the direction must be resolved as RTL.

Next test
HTML5

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