mo-not-in-dictionary-lspace-rspace-ref.html (1162B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>lspace/rspace default value for unknown operators (reference)</title> 6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 7 <style> 8 math { 9 font: 100px/1 Ahem; 10 } 11 mo { 12 color: blue; 13 } 14 </style> 15 </head> 16 <body> 17 <p>This test passes if on each row, the space around the blue rectangle 18 is 0.2777777777777778em.</p> 19 <p> 20 <math> 21 <mrow> 22 <mn>p</mn> 23 <mo lspace="0.2777777777777778em" rspace="0.2777777777777778em">X</mo> <!-- Single character --> 24 <mn>p</mn> 25 </mrow> 26 </math> 27 </p> 28 <p> 29 <math> 30 <mrow> 31 <mn>p</mn> 32 <mo lspace="0.2777777777777778em" rspace="0.2777777777777778em">XX</mo> <!-- Multiple characters --> 33 <mn>p</mn> 34 </mrow> 35 </math> 36 </p> 37 <p> 38 <math> 39 <mrow> 40 <mn>p</mn> 41 <mo form="infix" lspace="0.2777777777777778em" rspace="0.2777777777777778em">X</mo> <!-- Explicit form --> 42 <mn>p</mn> 43 </mrow> 44 </math> 45 </p> 46 </body> 47 </html>