dir-1.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html>
  3. <head><title>Test dir=rtl</title></head>
  4. <body>
  5. <p>
  6. math:
  7. <math dir="rtl">
  8. <mspace width="25px" height="25px" mathbackground="red"/>
  9. <mspace width="25px" height="25px" mathbackground="green"/>
  10. <mspace width="25px" height="25px" mathbackground="blue"/>
  11. </math>
  12. </p>
  13. <p>
  14. mrow:
  15. <math>
  16. <mrow dir="rtl">
  17. <mspace width="25px" height="25px" mathbackground="red"/>
  18. <mspace width="25px" height="25px" mathbackground="green"/>
  19. <mspace width="25px" height="25px" mathbackground="blue"/>
  20. </mrow>
  21. </math>
  22. </p>
  23. <p>
  24. mstyle:
  25. <math>
  26. <mstyle dir="rtl">
  27. <mspace width="25px" height="25px" mathbackground="red"/>
  28. <mspace width="25px" height="25px" mathbackground="green"/>
  29. <mspace width="25px" height="25px" mathbackground="blue"/>
  30. </mstyle>
  31. </math>
  32. </p>
  33. <p>
  34. mpadded lspace="25px" width="150px":
  35. <math dir="rtl">
  36. <mspace width="1px" height="25px" mathbackground="black"/>
  37. <mpadded lspace="25px" width="150px">
  38. <mspace width="25px" height="25px" mathbackground="red"/>
  39. <mspace width="25px" height="25px" mathbackground="green"/>
  40. <mspace width="25px" height="25px" mathbackground="blue"/>
  41. </mpadded>
  42. <mspace width="1px" height="25px" mathbackground="black"/>
  43. </math>
  44. </p>
  45. <p>
  46. mfenced open="A" close="D" separators="BC":
  47. <math dir="rtl">
  48. <mfenced open="A" close="D" separators="BC">
  49. <mtext>a</mtext>
  50. <mtext>b</mtext>
  51. <mtext>c</mtext>
  52. </mfenced>
  53. </math>
  54. </p>
  55. </body>
  56. </html>