mo-not-in-dictionary-lspace-rspace.html (1458B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>lspace/rspace default value for unknown operators</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo"> 7 <meta name="assert" content="Verifies that the default lspace/rspace are 0.2777777777777778em for entries that are not in the operator dictionary."> 8 <link rel="match" href="mo-not-in-dictionary-lspace-rspace-ref.html"> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 10 <style> 11 math { 12 font: 100px/1 Ahem; 13 } 14 mo { 15 color: blue; 16 } 17 </style> 18 </head> 19 <body> 20 <p>This test passes if on each row, the space around the blue rectangle 21 is 0.2777777777777778em.</p> 22 <p> 23 <math> 24 <mrow> 25 <mn>p</mn> 26 <mo>X</mo> <!-- Single character --> 27 <mn>p</mn> 28 </mrow> 29 </math> 30 </p> 31 <p> 32 <math> 33 <mrow> 34 <mn>p</mn> 35 <mo>XX</mo> <!-- Multiple characters --> 36 <mn>p</mn> 37 </mrow> 38 </math> 39 </p> 40 <p> 41 <math> 42 <mrow> 43 <mn>p</mn> 44 <mo form="infix">X</mo> <!-- Explicit form --> 45 <mn>p</mn> 46 </mrow> 47 </math> 48 </p> 49 <script src="/mathml/support/feature-detection.js"></script> 50 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_operator_spacing");</script> 51 </body> 52 </html>