Prerequisites: An Arabic and a Hebrew font.

ltr page, rtl div, p

same Test passes if:
A. The visual order of words is Hebrew (הישראלי), English (W3C), Arabic (مكتب)
B. The text is right-aligned.

مكتب W3C הישראלי

مكتب W3C הישראלי

reference graphic

Assertion: When dir="rtl" is added to a div in a ltr context, for paragraphs in the div (a) directional runs are ordered right-to-left, (b) the paragraphs are right-aligned on the page.

Notes:The order of directional runs in memory is: Arabic (مكتب) English (W3C) Hebrew (הישראלי).

= means you should check that the test and reference graphic look the same, except for font differences and cursive joining behavior.

Next test
HTML5

bidi-markup-007
Result summary & related tests
Detailed results for this test