semantics-1-ref.xhtml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="content-type"
  5. content="application/xhtml+xml; charset=utf-8" />
  6. <title>Various tests for semantics</title>
  7. </head>
  8. <body>
  9. <!-- displaystyle (bug 468059) -->
  10. <p><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  11. <semantics>
  12. <mstyle displaystyle="true">
  13. <munderover>
  14. <mo movablelimits="true">□■□</mo>
  15. <mtext>■□■□■□</mtext>
  16. <mtext>■□■□■□</mtext>
  17. </munderover>
  18. </mstyle>
  19. </semantics>
  20. </math></p>
  21. <!-- embellished operator (bug 21479) -->
  22. <p><math xmlns="http://www.w3.org/1998/Math/MathML">
  23. <mover>
  24. <mspace width="300px" height="10px" mathbackground="black"></mspace>
  25. <mo>&#xaf;</mo>
  26. </mover>
  27. </math></p>
  28. <!-- unwanted whitespace (bug 512418) -->
  29. <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
  30. <mrow>
  31. <mrow>
  32. <mo>lcm</mo>
  33. <mo>(</mo>
  34. <mi>a</mi>
  35. <mo>,</mo>
  36. <mi>b</mi>
  37. <mo>)</mo>
  38. </mrow>
  39. <mo>=</mo>
  40. <mfrac>
  41. <mrow>
  42. <mo>(</mo>
  43. <mi>a</mi>
  44. <mo>&#x2062;</mo>
  45. <mi>b</mi>
  46. <mo>)</mo>
  47. </mrow>
  48. <mrow>
  49. <mo>gcd</mo>
  50. <mo>(</mo>
  51. <mi>a</mi>
  52. <mo>,</mo>
  53. <mi>b</mi>
  54. <mo>)</mo>
  55. </mrow>
  56. </mfrac>
  57. </mrow>
  58. </math>■□■□■□</p>
  59. <!-- maction and semantics (bug 523037) -->
  60. <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
  61. <maction actiontype="toggle" selection="3">
  62. <mn>1</mn>
  63. <mn>2</mn>
  64. <mn>3</mn>
  65. <mn>4</mn>
  66. <mn>5</mn>
  67. </maction>
  68. </math>■□■□■□</p>
  69. <!-- maction and semantics (bug 523045) -->
  70. <p>■□■□■□<math xmlns="http://www.w3.org/1998/Math/MathML">
  71. <maction actiontype="toggle" selection="4">
  72. <mn>1</mn>
  73. <mn>2</mn>
  74. <mn>3</mn>
  75. <mn>4</mn>
  76. <mn>5</mn>
  77. </maction>
  78. </math>■□■□■□</p>
  79. </body>
  80. </html>