Prerequisites: A Hebrew font.

dir=auto, start with R within contained element

same

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

אבגABC.
XY
Z
אבגABC.
XY
Z
אבגABC.
XY
Z
אבגABC.
XY
Z

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

Next test
HTML5

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