mo-single-char-and-children-ref.html (1482B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title><mo> with a single character and children (reference)</title> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"/> 7 <style> 8 math { font: 25px/1 Ahem; } 9 </style> 10 </head> 11 <body> 12 <p>There should be 5/18em horizontal gaps around the middle rectangles:</p> 13 <p><math><mn>p</mn><mo><span>X</span></mo><mn>p</mn></math></p> 14 <p><math><mn>p</mn><mo>X<span></span></mo><mn>p</mn></math></p> 15 <p><math><mn>p</mn><mo><span></span>X</mo><mn>p</mn></math></p> 16 <p><math><mn>p</mn><mo id="dynamic-add">X</mo><mn>p</mn></math></p> 17 <p><math><mn>p</mn><mo id="dynamic-text-add">XX</mo><mn>p</mn></math></p> 18 19 <p>There should be no horizontal gap around the middle rectangles:</p> 20 21 <p><math><mn>p</mn><mo stretchy="false" lspace="0" rspace="0">X</mo><mn>p</mn></math></p> 22 <p><math><mn>p</mn><mo id="dynamic-remove" stretchy="false" lspace="0" rspace="0"><span></span>X</mo><mn>p</mn></math></p> 23 <p><math><mn>p</mn><mo stretchy="false" lspace="0" rspace="0"><!-- COMMENT -->X</mo><mn>p</mn></math></p> 24 25 <p>There should be 4/18em horizontal gaps around the middle rectangles:</p> 26 <p><math><mn>p</mn><mo lspace="0.2222222222222222em" rspace="0.2222222222222222em">XX</mo><mn>p</mn></math></p> 27 <p><math><mn>p</mn><mo id="dynamic-text-add-2" lspace="0.2222222222222222em" rspace="0.2222222222222222em">XX</mo><mn>p</mn></math></p> 28 29 </body> 30 </html>