mo-invisibleoperators.html (1306B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link rel="match" href="mo-invisibleoperators-ref.html"> 5 <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo"> 6 <link rel="help" href="This test verifies that invisible operators rendered with the default fonts do not add spacing, foreground or background."> 7 <meta name="assert" content="https://bugzilla.mozilla.org/show_bug.cgi?id=969867"> 8 <meta name="assert" content="https://bugzilla.mozilla.org/show_bug.cgi?id=522393"> 9 </head> 10 <math> 11 <mrow> 12 <mn>1</mn> 13 <mo>⁡<!-- FUNCTION APPLICATION --></mo> 14 <mn>2</mn> 15 <mo>⁢<!-- INVISIBLE TIMES --></mo> 16 <mn>3</mn> 17 <mo>⁣<!-- INVISIBLE SEPARATOR --></mo> 18 <mn>4</mn> 19 <mo>⁤<!-- INVISIBLE PLUS --></mo> 20 <mn>5</mn> 21 <!-- Hack. The invisible operators may not belong to the same font as 22 the numbers, so they may have different heights. The mspace 23 compensates for this by ensuring the height of the mrow does not 24 depend on character height --> 25 <mspace height="2em" width="0.1em"></mspace> 26 </mrow> 27 </math> 28 <p> 29 <!-- Should be invisible --> 30 <math> 31 <mo style="background: red; color: blue;">⁡</mo> 32 </math> 33 </html>