layout/reftests/mathml/mo-invisibleoperators.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial