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.
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.
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.
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. | bidi-markup-001 | ||||
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. | bidi-markup-002 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-003 | ||||
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. | bidi-markup-004 | ||||
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. | bidi-markup-005 | ||||
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. | bidi-markup-006 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-007 | ||||
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. | bidi-markup-008 | ||||
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. | bidi-markup-009 | ||||
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. | bidi-markup-010 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-029 | ||||
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. | bidi-markup-030 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-017 | ||||
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. | bidi-markup-018 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-019 | ||||
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. | bidi-markup-020 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-021 | ||||
neutral associated with rlm entity | In a rtl context, an lrm entity will give a left-to-right direction to a neutral character. | bidi-markup-022 | ||||
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. | bidi-markup-013 | ||||
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. | bidi-markup-023 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.
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. | bidi-markup-027 | ||||
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. | bidi-markup-028 |
Links: Section 3.2.3.5 • Latest results for section 3.2.3.5 • Submit data for section 3.2.3.5 • Related tests
All tests worked as expected, ie. no issues with bidi handling.