<!DOCTYPE html> <html> <head><title>Test dir=rtl</title></head> <body> <p> math: <math> <mspace width="25px" height="25px" mathbackground="blue"/> <mspace width="25px" height="25px" mathbackground="green"/> <mspace width="25px" height="25px" mathbackground="red"/> </math> </p> <p> mrow: <math> <mrow> <mspace width="25px" height="25px" mathbackground="blue"/> <mspace width="25px" height="25px" mathbackground="green"/> <mspace width="25px" height="25px" mathbackground="red"/> </mrow> </math> </p> <p> mstyle: <math> <mstyle> <mspace width="25px" height="25px" mathbackground="blue"/> <mspace width="25px" height="25px" mathbackground="green"/> <mspace width="25px" height="25px" mathbackground="red"/> </mstyle> </math> </p> <p> mpadded lspace="25px" width="150px": <math> <mspace width="1px" height="25px" mathbackground="black"/> <mpadded lspace="50px" width="150px"> <mspace width="25px" height="25px" mathbackground="blue"/> <mspace width="25px" height="25px" mathbackground="green"/> <mspace width="25px" height="25px" mathbackground="red"/> </mpadded> <mspace width="1px" height="25px" mathbackground="black"/> </math> </p> <p> mfenced open="A" close="D" separators="BC": <math> <mfenced open="D" close="A" separators="CB"> <mtext>c</mtext> <mtext>b</mtext> <mtext>a</mtext> </mfenced> </math> </p> </body> </html>