summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mo-invisibleoperators.html
blob: 6937dafc80c239888d875b09b64e4d08007047a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
  <math>
    <mrow>
      <mn>1</mn>
      <mo>&#x2061;<!-- FUNCTION APPLICATION --></mo>
      <mn>2</mn>
      <mo>&#x2062;<!-- INVISIBLE TIMES --></mo>
      <mn>3</mn>
      <mo>&#x2063;<!-- INVISIBLE SEPARATOR --></mo>
      <mn>4</mn>
      <mo>&#x2064;<!-- INVISIBLE PLUS --></mo>
      <mn>5</mn>
      <!-- Hack.  The invisible operators may not belong to the same font as
           the numbers, so they may have different heights.  The mspace
           compensates for this by ensuring the height of the mrow does not
           depend on character height -->
      <mspace height="2em" width="0.1em"></mspace>
    </mrow>
  </math>
  <p>
  <!-- Should be invisible -->
  <math>
    <mo style="background: red; color: blue;">&ApplyFunction;</mo>
  </math>
</html>