Bidirectional layout features are mainly used for RTL (Right-To-Left) languages, and to support W3C Arabic mathematical notation.
WIRIS editor fully implements it. Discrepancies between the examples and the W3C samples are due to:
menclose notation="madruwb"
is not yet implemented.