Bidirectional Text Test 2 - Formatting Characters

This test is based on CSS2 section 9.10 and Chapter 3 of the Unicode Standard.

This test is a variant of my test for the same concepts in CSS that has been translated into using Unicode directional formatting codes.

Note that Unicode in XML and other Markup Languages suggests that HTML UAs should ignore these characters.

The following lines should all read "ABCDEFGHI":

ABCDEFGHI

‫ABCDEFGHI‬

‫ABCDEFGHI‬

‮IHGFEDCBA‬

‮IHGFEDCBA‬

‮IHG‫DEF‬CBA‬

‮IHG‮FED‬CBA‬

‮IHG‮FED‬CBA‬

‮IHG‭DEF‬CBA‬

Each pair of lines should be the same:

גבא

אבג

גבא

‪אבג‬

אבג

‭אבג‬

גבא ABC והד

אבג ABC דהו

והד ABC גבא

אבג ABC דהו

גבא ABC והד DEF טחז

אבג ABC דהו DEF זחט

גבא ABC והד DEF טחז

אבג ABC דהו DEF זחט

גבא ABC והד DEF טחז

אבג ‪ABC דהו DEF‬ זחט

טחז DEF והד ABC גבא

אבג ‫ABC דהו DEF‬ זחט

והד ABC גבא DEF טחז

אבג ‫ABC דהו‬ DEF זחט

והד CBA גבא DEF טחז

אבג ‮ABC דהו‬ DEF זחט

גבא ABC דהו DEF טחז

אבג ‭ABC דהו‬ DEF זחט

טחז ABC דהו DEF גבא

אבג ‭ABC דהו‬ DEF זחט

גבא ABC והד DEF GHI טחז

אבג ABC דהו DEF GHI זחט

FED והד CBA גבא GHI טחז

אבג ‮ABC דהו DEF‬ GHI זחט

גבא ABC FED והד GHI טחז

אבג ABC ‮דהו DEF‬ GHI זחט

Note: This test does not test RLM or LRM, but it ought to.


Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org, 2001-06-05