Prerequisites: A Hebrew font.

pre with dir=auto, mixed L and R paragraphs

same

Test passes if the two boxes below look exactly the same.

@‎123‏!
!‏123‎@
@123‎‏!
!123‏‎@
        
@‎123‏!
!‏123‎@
@123‎‏!
!123‏‎@
        
@123!
@123!
@123!
@123!
        
@123!
@123!
@123!
@123!
        

Assertion: When dir='auto', the direction is set according to the first strong character of the text. For textarea and pre elements, the heuristic is applied on a per-paragraph level.

Next test
HTML5

bidi-html5-063
Result summary & related tests
Detailed results for this test