mtable-rowalign-single-mtable.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Test MathML rowalign</title>
  5. </head>
  6. <body>
  7. <b>rowalign="top"</b> <br/>
  8. <math>
  9. <mstyle>
  10. <mtable rowalign="top">
  11. <mtr>
  12. <mtd>
  13. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  14. </mtd>
  15. <mtd>
  16. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  17. </mtd>
  18. <mtd>
  19. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  20. </mtd>
  21. </mtr>
  22. <mtr>
  23. <mtd>
  24. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  25. </mtd>
  26. <mtd>
  27. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  28. </mtd>
  29. <mtd>
  30. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  31. </mtd>
  32. </mtr>
  33. <mtr>
  34. <mtd>
  35. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  36. </mtd>
  37. <mtd>
  38. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  39. </mtd>
  40. <mtd>
  41. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  42. </mtd>
  43. </mtr>
  44. </mtable>
  45. </mstyle>
  46. </math> <br />
  47. <b>rowalign="center"</b> <br />
  48. <math>
  49. <mstyle>
  50. <mtable rowalign="center">
  51. <mtr>
  52. <mtd>
  53. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  54. </mtd>
  55. <mtd>
  56. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  57. </mtd>
  58. <mtd>
  59. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  60. </mtd>
  61. </mtr>
  62. <mtr>
  63. <mtd>
  64. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  65. </mtd>
  66. <mtd>
  67. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  68. </mtd>
  69. <mtd>
  70. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  71. </mtd>
  72. </mtr>
  73. <mtr>
  74. <mtd>
  75. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  76. </mtd>
  77. <mtd>
  78. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  79. </mtd>
  80. <mtd>
  81. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  82. </mtd>
  83. </mtr>
  84. </mtable>
  85. </mstyle>
  86. </math> <br />
  87. <b>rowalign="bottom"</b> <br />
  88. <math>
  89. <mstyle>
  90. <mtable rowalign="bottom">
  91. <mtr>
  92. <mtd>
  93. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  94. </mtd>
  95. <mtd>
  96. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  97. </mtd>
  98. <mtd>
  99. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  100. </mtd>
  101. </mtr>
  102. <mtr>
  103. <mtd>
  104. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  105. </mtd>
  106. <mtd>
  107. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  108. </mtd>
  109. <mtd>
  110. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  111. </mtd>
  112. </mtr>
  113. <mtr>
  114. <mtd>
  115. <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
  116. </mtd>
  117. <mtd>
  118. <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
  119. </mtd>
  120. <mtd>
  121. <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
  122. </mtd>
  123. </mtr>
  124. </mtable>
  125. </mstyle>
  126. </math>
  127. </body>
  128. </html>