There is a dir="rtl" attribute on the body element of this document, but no dir on the html element.

Alert box

Objective: Does dir="rtl" on the body element affect the placement of items in a JavaScript alert box?

The button uses the JavaScript alert() method to open an alert box.

Check whether the items on the alert box run from right to left or left to right. Also, check whether the text 'W3C' appears to the left of the Hebrew text in the message.

Confirm dialog box

Objective: Does dir="rtl" on the body element affect the placement of items in a JavaScript alert box?

The button uses the JavaScript confirm() method to open an confirmation box.

Check whether the items on the confirmation box run from right to left or left to right. Also, check whether the text 'W3C' appears to the left of the Hebrew text in the message.

User prompt

Objective: Does dir="rtl" on the body element affect the placement of items in a JavaScript prompt box?

The button uses the JavaScript prompt() method to open an user prompt box.

Check whether the items on the alert box run from right to left or left to right. Also, check whether the text 'W3C' appears to the left of the Hebrew text in the message. Also check whether the default input supplied runs left-to-right in the same way, and is right-justified.

Scroll bar

Objective: Does dir="rtl" on the body element affect the placement of the scrollbar?

Check whether the vertical scrollbar is on the right or the left. (Adjust the window size, if necessary.)


 
 
 
 
 
 
 
 
 

Version: $Id: test-rtl-chrome-2.html,v 1.2 2008/03/13 20:03:02 rishida Exp $