Summarized test results:
Bidi markup in HTML

Intended audience: users, XHTML/HTML coders (using editors or scripting), script developers (PHP, JSP, etc.), CSS coders, Web project managers, and anyone who wants to know how language declarations work in current browsers.

Updated

These tests check whether user agents apply the basic bidirectional algorithm to text in HTML and XHTML documents (with no markup or styling involved).

Note that the snapshot summaries of these test results are for released versions of the browsers tested. Versions that are still in development may provide better support for these features. The tests themselves do not test any vendor prefixes.

results

To see the test, click on the link in the left-most column. To see detailed results for a single test, click on the link in the right-most column. To submit test data for a single test, click on the link in the right-most column and then follow the link on that page.

The tables show the latest results from the W3C Test Framework. Below the tables are summaries of the results at a given date. The table data may be more up-to-date than the summary. The tables may also contain some incorrectly scored tests, and tests that relate to non-released versions of browsers. These are not included in the summary.

Block: page direction set to RTL

Assertion Gecko Presto Trident WebKit Detailed results
paragraphs When the html tag sets dir to rtl, (a) directional runs in a paragraph are ordered right-to-left, (b) the paragraph is right-aligned on the page.
tables When the html tag sets dir to rtl, (a) directional runs in a table are ordered right-to-left, (b) columns run right-to-left, (c) text is right-aligned within cells, and (d) the table is right-aligned on the page.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Block: dir on block elements

Assertion Gecko Presto Trident WebKit Detailed results
ltr context, rtl p When dir="rtl" is added to a paragraph in a ltr context, (a) directional runs in a paragraph are ordered right-to-left, (b) the paragraph is right-aligned on the page.
ltr context, rtl table When dir="rtl" is added to a table in a ltr context, (a) directional runs in a table are ordered right-to-left, (b) columns run right-to-left, (c) text is right-aligned within cells, and (d) the table is left-aligned on the page.
rtl context, ltr p When dir="rtl" is added to a paragraph in a rtl context, (a) directional runs in a paragraph are ordered left-to-right, (b) the paragraph is left-aligned on the page.
rtl context, ltr table When dir="rtl" is added to a table in a rtl context, (a) directional runs in a table are ordered left-to-right, (b) columns run left-to-right, (c) text is left-aligned within cells, and (d) the table is right-aligned on the page.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Block: inheritance from a non-html parent

Assertion Gecko Presto Trident WebKit Detailed results
ltr page, rtl div, p 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.
ltr page, rtl div, table When dir="rtl" is added to a div in a ltr context, for tables in the div (a) directional runs in a table are ordered right-to-left, (b) columns run right-to-left, (c) text is right-aligned within cells, and (d) the table is right-aligned on the page.
rtl page, ltr div, p When dir="rtl" is added to a div in a rtl context, for paragraphs in the div (a) directional runs are ordered left-to-right, (b) the paragraphs are left-aligned on the page.
rtl page, ltr div, table When dir="rtl" is added to a div in a rtl context, for tables in the div (a) directional runs in a table are ordered left-to-right, (b) columns run left-to-right, (c) text is left-aligned within cells, and (d) the table is left-aligned on the page.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Block: lists

Assertion Gecko Presto Trident WebKit Detailed results
ordered and unordered lists In a rtl context, all list items should start from the right, regardless of the direction of the script in the list item.
dl lists In a rtl context, all list items should start from the right, regardless of the direction of the script in the list item.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Inline: base direction

Assertion Gecko Presto Trident WebKit Detailed results
base direction, ltr context In a left-to-right context, without markup, styling or special characters, a sequence of directional runs will progress from left to right.
base direction, rtl context In a right-to-left context, without markup, styling or special characters, a sequence of directional runs will progress from right-to-left.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Inline: embedded level

Assertion Gecko Presto Trident WebKit Detailed results
neutral in embedded rtl level In a ltr context, an inline element with dir set to rtl will produce an embedded directional context that is applied to neutral characters.
neutral in embedded ltr level In a rtl context, an inline element with dir set to ltr will produce an embedded directional context that is applied to neutral characters.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Inline: RLM

Assertion Gecko Presto Trident WebKit Detailed results
neutral associated with rlm entity In a ltr context, an rlm entity will give a right-to-left direction to a neutral character.
neutral associated with rlm entity In a rtl context, an lrm entity will give a left-to-right direction to a neutral character.
directional type, ltr context, hebrew in english In a left-to-right context, without markup, styling or special characters, a sequence of Hebrew characters and spaces will progress from right to left when embedded in a left-to-right script.
neutral associated with rlm NCR In a ltr context, an NCR representing the RLM character will give a right-to-left direction to a neutral character.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.

Inline: bdo element

Assertion Gecko Presto Trident WebKit Detailed results
bdo, dir ltr The bdo element with dir set to ltr causes all contained text to ignore the bidirectional algorithm and displays all characters from left to right.
bdo, dir rtl The bdo element with dir set to rtl causes all contained text to ignore the bidirectional algorithm and displays all characters from right to left.

Snapshot summary, 2011-11-12

All tests worked as expected, ie. no issues with bidi handling.