dir=auto, start with style, then L

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 style elements. In this test, it is the Latin letter A, thus the direction must be resolved as LTR.

Next test
HTML5

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

Assumptions: