operator-dictionary-empty-and-three-chars.html (1511B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>Spacing of empty and three-char operators</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#operator-dictionary"> 8 <meta name="assert" content="Verifies that empty and three-char operators use the default spacing."> 9 <link rel="match" href="operator-dictionary-empty-and-three-chars-ref.html"> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style> 12 math { 13 font: 50px/1 Ahem; 14 } 15 mn:first-child { 16 color: blue; 17 } 18 mn:last-child { 19 color: yellow; 20 } 21 </style> 22 </head> 23 <body> 24 25 <p><math><mn>_</mn><mo lspace="0.2777777777777778em" rspace="0.2777777777777778em">_</mo><mn>_</mn></math></p> 26 27 <p>The spacing after the blue squares and before the yellow squares should be the same as the above reference:</p> 28 29 <p><math><mn>_</mn><mo><!-- empty --></mo><mn>_</mn></math></p> 30 <p><math><mn>_</mn><mo>...</mo><mn>_</mn></math></p> 31 <p><math><mn>_</mn><mo>lim</mo><mn>_</mn></math> 32 <p><math><mn>_</mn><mo>max</mo><mn>_</mn></math> 33 <p><math><mn>_</mn><mo>min</mo><mn>_</mn></math> 34 <p><math><mn>_</mn><mo>|||</mo><mn>_</mn></math> 35 36 <script src="/mathml/support/feature-detection.js"></script> 37 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_operator_spacing");</script> 38 </body> 39 </html>