CSS3 Internationalization Tests
Text direction
This page gathers links related to tests being developed by the Internationalization Core Working Group to assess internationalization support of user agents. These tests are subject to change from time to time.
For each of the sections below, this page links to summaries of the results of related tests (for major browsers), to more detailed results (by test suite) in the W3C Test Framework, and to pages in the framework that allow you to run the tests and record results. The remainder of each section provides direct links to the tests themselves, with information about the test assertion and relevant formats.
Direction on inline elements
- default context, direction rtl, unicode-bidi embed (direction-unicode-bidi-001)
In the default context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed correctly.
TestResults - default context, direction rtl, unicode-bidi none (direction-unicode-bidi-002)
In the default context, if direction:rtl alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order.
TestResults - ltr context, direction rtl, unicode-bidi embed (direction-unicode-bidi-003)
In a LTR context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed correctly.
TestResults - ltr context, direction rtl, unicode-bidi none (direction-unicode-bidi-004)
In a LTR context, if direction:rtl alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order.
TestResults - rtl context, direction ltr, unicode-bidi embed (direction-unicode-bidi-005)
In a RTL context, if direction:ltr and unicode-bidi:embed are applied to a LTR inline element containing mixed direction text, the text in that element will be displayed correctly.
TestResults - rtl context, direction ltr, unicode-bidi none (direction-unicode-bidi-006)
In a RTL context, if direction:ltr alone is applied to a LTR inline element containing mixed direction text, the different directional runs in that element will not be in the correct order.
TestResults - direction of a ltr tspan (direction-unicode-bidi-007)
In a RTL context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the the inline element will interact with surrounding ltr text as a LTR directional run.
TestResults - direction of a rtl tspan (direction-unicode-bidi-008)
In a LTR context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the the inline element will interact with surrounding rtl text as a RTL directional run.
TestResults
Direction on block elements
- on element, direction ltr, unicode-bidi none (direction-unicode-bidi-009)
direction:ltr alone on a block element will cause the text to be left-aligned, directional runs to be arranged LTR (but the words should look correct within each run), and punctuation should be treated as LTR.
TestResults - on element, direction rtl, unicode-bidi none (direction-unicode-bidi-010)
direction:rtl alone on a block element will cause the text to be right-aligned, directional runs to be arranged RTL (but the words should look correct within each run), and punctuation should be treated as RTL.
TestResults - inherited, direction ltr, unicode-bidi none (direction-unicode-bidi-011)
direction:ltr on a container element will be inherited by an embedded block element.
TestResults - inherited, direction rtl, unicode-bidi none (direction-unicode-bidi-012)
direction:rtl on a container element will be inherited by an embedded block element.
TestResults
Overriding direction on inline elements
- default context, direction none, unicode-bidi override (direction-unicode-bidi-013)
In the default context, if unicode-bidi:bidi-override and no direction are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right.
TestResults - default context, direction ltr, unicode-bidi override (direction-unicode-bidi-014)
In the default context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right.
TestResults - default context, direction rtl, unicode-bidi override (direction-unicode-bidi-015)
In the default context, if unicode-bidi:bidi-override and direction:rtl are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right.
TestResults - ltr context, direction none, unicode-bidi override (direction-unicode-bidi-016)
In a LTR context, if unicode-bidi:bidi-override and no direction are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right.
TestResults - ltr context, direction ltr, unicode-bidi override (direction-unicode-bidi-017)
In a LTR context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right.
TestResults - ltr context, direction rtl, unicode-bidi override (direction-unicode-bidi-018)
In a LTR context, if unicode-bidi:bidi-override and direction:rtl are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right.
TestResults - rtl context, direction none, unicode-bidi override (direction-unicode-bidi-019)
In a RTL context, if unicode-bidi:bidi-override and no direction are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left.
TestResults - rtl context, direction ltr, unicode-bidi override (direction-unicode-bidi-020)
In a RTL context, if direction:ltr and unicode-bidi:bidi-override are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from right to left.
TestResults - rtl context, direction rtl, unicode-bidi override (direction-unicode-bidi-021)
In a RTL context, if unicode-bidi:bidi-override and direction:rtl are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left.
TestResults
Overriding direction on block elements
- on element, direction ltr, unicode-bidi override (direction-unicode-bidi-022)
direction:ltr and unicode-bidi:bidi-override on a block element will cause the text to be left-aligned, and all text to be displayed in backing-store order from left to right.
TestResults - on element, direction rtl, unicode-bidi override (direction-unicode-bidi-023)
direction:rtl and unicode-bidi:bidi-override on a block element will cause the text to be right-aligned, and all text to be displayed in backing-store order from right to left.
TestResults - inherited, direction ltr, unicode-bidi override (direction-unicode-bidi-024)
When direction:ltr and unicode-bidi:bidi-override is set on a block element, the override will not be inherited by a child block element, but the direction will.
TestResults - inherited, direction rtl, unicode-bidi override (direction-unicode-bidi-025)
When direction:rtl and unicode-bidi:bidi-override is set on a block element, the override will not be inherited by a child block element, but the direction will.
TestResults
Overriding direction on block elements with mixed content
- right to left block (direction-unicode-bidi-026)
When direction:ltr and unicode-bidi:bidi-override is set on a block element containing block and inline elements, only the direction of the inline text will be overridden.
TestResults - left to right block (direction-unicode-bidi-027)
When direction:rtl and unicode-bidi:bidi-override is set on a block element containing block and inline elements, only the direction of the inline text will be overridden.
TestResults - inner block converted to inline (direction-unicode-bidi-028)
When direction:rtl and unicode-bidi:bidi-override is set on a block element containing block and inline elements, and CSS is used to change the block element to an inline element, the direction of all the text will be overridden.
TestResults
Writing-mode
Writing-mode, single script
- Exploratory: chinese (vertical-text-001)
[Exploratory test] Setting writing-mode to vertical-rl will cause Chinese text to run vertically down the left size of a box, with upright characters, and wrap to the left, and cause paragraphs to flow to the left.
TestResults - Exploratory: japanese (vertical-text-002)
[Exploratory test] Setting writing-mode to vertical-rl will cause Japanese text using kanji, hiragana and katakana to run vertically down the left size of a box, with upright characters, and wrap to the left, and cause paragraphs to flow to the left.
TestResults - Exploratory: mongolian (vertical-text-003)
[Exploratory test] Setting writing-mode to vertical-lr will cause Mongolian text to run vertically down the left size of a box, with upright characters, and wrap to the right, and cause paragraphs to flow to the right.
TestResults
Writing-mode, mixed scripts
- Exploratory: latin in chinese (vertical-text-004)
[Exploratory test] Setting writing-mode to vertical-rl will cause Latin text embedded in vertical Chinese to flow down the page, with letters rotated 90 degrees clockwise, and wrap to the left.
TestResults - Exploratory: latin in mongolian (vertical-text-005)
[Exploratory test] Setting writing-mode to vertical-lr will cause Latin text embedded in vertical Mongolian to flow down the page, with letters rotated 90 degrees clockwise, and wrap to the right.
TestResults - Exploratory: arabic in chinese (vertical-text-006)
[Exploratory test] Setting writing-mode to vertical-rl will cause Arabic text embedded in vertical Chinese to flow up the page, with letters rotated to the right, and wrap to the left, such that the Arabic lines are read right to left, and the letters join correctly.
TestResults - Exploratory: arabic in mongolian (vertical-text-007)
[Exploratory test] Setting writing-mode to vertical-lr will cause Arabic text embedded in vertical Mongolian to flow up the page, with letters rotated to the right, and wrap to the right, such that the Arabic lines are read left to right, and the letters join correctly.
TestResults - Exploratory: mongolian in chinese (vertical-text-008)
[Exploratory test] Setting writing-mode to vertical-rl will cause Mongolian text embedded in vertical Chinese to flow down the page, with letters in the normal vertical orientation, and wrap to the left.
TestResults - Exploratory: chinese in mongolian (vertical-text-009)
[Exploratory test] Setting writing-mode to vertical-lr will cause Chinese text embedded in vertical Mongolian to flow down the page, with letters upright, and wrap to the right.
TestResults
Writing-mode with tb-
- Exploratory: chinese (vertical-text-101)
[Exploratory test] Setting writing-mode to tb-rl will cause Chinese text to run vertically down the left size of a box, with upright characters, and wrap to the left, and cause paragraphs to flow to the left.
TestResults - Exploratory: japanese (vertical-text-102)
[Exploratory test] Setting writing-mode to tb-rl will cause Japanese text using kanji, hiragana and katakana to run vertically down the left size of a box, with upright characters, and wrap to the left, and cause paragraphs to flow to the left.
TestResults - Exploratory: mongolian (vertical-text-103)
[Exploratory test] Setting writing-mode to tb-lr will cause Mongolian text to run vertically down the left size of a box, with upright characters, and wrap to the right, and cause paragraphs to flow to the right.
TestResults
Copyright © 2013 W3C ® (MIT, ERCIM, Keio, Beihang) Usage policies apply.
Content last changed 2012-03-30 06:36 GMT.
Content last changed 2012-03-30 06:36 GMT.