Test passes if the two boxes below look exactly the same.
Key to entities used below:
א ... ו - The first six Hebrew letters (strongly RTL).
- The LRO (left-to-right override) formatting character.
- the RLO (right-to-left-override) formatting character.
- The PDF (pop directional formatting) formatting character; closes LRO and RLO.
If the BDI in the test's first DIV were a SPAN, the RLO it contains, not being closed by a
PDF, would visually reorder the de into ed.