Summarized test results:
HTML5, dir basics

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 basic directionality when the dir attribute is used.

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

The tables show results for tests run on the date shown. Above the tables are summaries of the results at that date. The table data may be more up-to-date than the summary. If the tables contain some incorrectly scored tests, or tests that relate to non-released versions of browsers, these are not included in the summary.

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.

Basic dir usage

Snapshot summary, 2014-02-17
Firefox 27.0, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0

All tests passed. No issues.

Assertion Firefox Chrome Safari Opera IE Detailed results
dir=rtl basic test If the element's dir attribute is in the rtl state, the directionality of the element is rtl.
dir=ltr basic test If the element's dir attribute is in the ltr state, the directionality of the element is ltr.
ltr context, rtl table [Exploratory] 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 table [Exploratory] When dir='ltr' is added to a table in a rtl context, (a) directional runs in the 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.
ordered and unordered lists [Exploratory] 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 [Exploratory] In a rtl context, all list items should start from the right, regardless of the direction of the script in the list item.

Direction inheritance

Snapshot summary, 2014-02-17
Firefox 27.0, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0

All tests passed. No issues.

Assertion Firefox Chrome Safari Opera IE Detailed results
inheritance If an element has no dir attribute, but has a parent element, the directionality of the element is the same as the parent element's directionality.
invalid value and inheritance If an element has a dir attribute with an invalid value ('foo' or 'bar'), and has a parent element, the directionality of the element is the same as the parent element's directionality.
invalid values left and right If an element has a dir attribute with an invalid value ('left' or 'right' or 'rl' or 'lr'), and has a parent element, the directionality of the element is the same as the parent element's directionality.

Default direction

Snapshot summary, 2014-02-17
Firefox 27.0, Chrome 32.0.1700.107, Safari 6.1.1, Internet Explorer 9, Opera 19.0

All tests passed. No issues.

Assertion Firefox Chrome Safari Opera IE Detailed results
default direction, basic test If the root element has no dir attribute, the directionality of an element is 'ltr'.
default direction, invalid value 'right' If the root element has an invalid dir attribute ('right'), the directionality of an element is 'ltr'.
default direction, invalid value 'rl' If the root element has an invalid dir attribute ('rl'), the directionality of an element is 'ltr'.