layout/reftests/mathml/mo-invisibleoperators.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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