dir=auto, start with script, then R

Test passes if the two boxes are identical.

אבגABC.
אבגABC.
אבגABC.
אבגABC.

When dir='auto', the direction is set according to the first strong character of descendant text while ignoring descendant script elements. In this test, it is the Hebrew letter Alef, thus the direction must be resolved as RTL.

Next test
HTML5

the-dir-attribute-060
Result summary & related tests
Detailed results for this test
Link to spec

Assumptions: