Bug 320294 - Remove space between mi with mathvarian normal. r=karlt
authorFrançois Wang <francoiswang@gmail.com>
Tue, 06 Mar 2012 21:58:20 +0100
changeset 91424 4574bdfa0ada6d7569fc806ee26f597b42ad3780
parent 91423 0e5c363eb4bc0d65fab1846ce13c3ed8be2dc827
child 91425 299e9dc611902ea2069ca038dcc244d5976b4c31
push id783
push userlsblakk@mozilla.com
push dateTue, 24 Apr 2012 17:33:42 +0000
treeherdermozilla-beta@11faed19f136 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs320294
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 320294 - Remove space between mi with mathvarian normal. r=karlt
layout/mathml/nsMathMLContainerFrame.cpp
--- a/layout/mathml/nsMathMLContainerFrame.cpp
+++ b/layout/mathml/nsMathMLContainerFrame.cpp
@@ -1102,17 +1102,17 @@ static PRInt32 kInterFrameSpacingTable[e
 
   /*           Ord  OpOrd OpInv OpUsr Inner Italic Upright */
   /*Ord  */   {0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00},
   /*OpOrd*/   {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
   /*OpInv*/   {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
   /*OpUsr*/   {0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01},
   /*Inner*/   {0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01},
   /*Italic*/  {0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x01},
-  /*Upright*/ {0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01}
+  /*Upright*/ {0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00}
 };
 
 #define GET_INTERSPACE(scriptlevel_, frametype1_, frametype2_, space_)  \
    /* no space if there is a frame that we know nothing about */        \
    if (frametype1_ == eMathMLFrameType_UNKNOWN ||                       \
        frametype2_ == eMathMLFrameType_UNKNOWN)                         \
     space_ = 0;                                                         \
   else {                                                                \