Prerequisites: A Hebrew font. A non-RTL browser version.

local rtl, javascript prompt box

Click on the button. Test passes if the order of characters in the input field of the prompt box follows that in the reference graphic below the button.

reference graphic

Assertion: [Exploratory test] When dir is set to rtl on a local element, text runs in the default input of a JavaScript prompt box are in the correct order and characters within a directional run are in the right order.

Next test
HTML5

bidi-chrome-017a
Result summary & related tests
Detailed results for this test