Prerequisites: A Hebrew font.

BDI: neutral when wrapped

same

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

א > b >>>                                                  c > ד...
a > ב >>>                                                  ג > d...
‭b < א‬
‭>>>‬
‭ד < c...‬
‭a > ב‬
‭<<<‬
‭...ג > d‬

Assertion: 'For the purposes of applying the bidirectional algorithm to the paragraph-level container that a bdi element finds itself within, the bdi element must be treated like a U+FFFC OBJECT REPLACEMENT CHARACTER.' Obviously, this should hold even if the BDI's content is wrapped over more than one line. A single character (U+FFFC or otherwise) obviously never gets wrapped over more than one line, but we still expect the part of the content preceding the BDI, if any, that is displayed on the same line as some part of the BDI to be ordered the same as it would be if that part of the BDI were replaced with U+FFFC. Similarly, we expect the part of the content following the BDI, if any, that is displayed on the same line as some part of the BDI to be ordered the same as it would be if that part of the BDI were replaced with U+FFFC.

Next test
HTML5

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