This document may contain examples in another language or script.
Use accesskey "n" to jump to the internal navigation links at any point. Right now you can do one of the following:
This page summarises results for a set of tests aimed at discovering whether bidirectional text is displayed as expected in the window title bar and tooltips.
There are two aspects to these tests:
The expected results should look like this:
Visually from left to right this is: German Hebrew Arabic French. The actual order of the text in memory
is: French Arabic Hebrew German.
Note that the overall directionality of the title displayed, including the name of the application, is left-to-right, however, the order of the text taken from the title element should be displayed in an embedded right-to-left context, since this is what is specified in the page.
All these tests were run on Windows XP Professional. This may be relevant to the results.

Characters: OK
Directional runs: Incorrect
![]()
Characters: OK
Directional runs: Incorrect

Characters: OK
Directional runs: Incorrect
![]()
Characters: OK
Directional runs: Incorrect

Characters: OK
Directional runs: Incorrect

Characters: OK
Directional runs: OK

Characters: OK
Directional runs: Incorrect. Not only has Firefox incorrectly ordered the French and German words (which indicates that the context is incorrectly interpreted), but it has also incorrectly ordered the Arabic and Hebrew - this indicates that the bidirectional algorithm is being incorrectly applied, since two RTL words side by side should constitute a single directional run.

Characters: OK
Directional runs: Incorrect

Characters: OK
Directional runs: Incorrect

Characters: OK
Directional runs: Incorrect
Note that Opera prepends some text to indicate that this comes from the title attribute. This would indicate that for a non-bidi version of the browser, the overall context of the tooltip text is properly left-to-right. However, the attribute text should still be presented visually from left to right: German Hebrew Arabic French.
All user agents displayed the characters in the correct order.
None of the user agents tested displayed the words in the correct order in the window title bar. It is not clear, however, whether the display is a function of the operating system rather than the user agent.
Of the user agents tested, only IE 6.0 displayed the words in the tooltip in the correct order. Firefox even incorrectly applied the bidirectional algorithm in the tooltip display.
What you need to know about the bidi algorithm and inline markup http://www.w3.org/International/articles/inline-bidi-markup/
Content created 8 October, 2004. Last update 2004-10-08 09:58 GMT
Copyright © 2004 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.