Bug 941607 - Incorrect preferred width of script l in <mi>. r=karlt
authorFrédéric Wang <fred.wang@free.fr>
Wed, 04 Dec 2013 17:46:20 -0500
changeset 174473 9b14d922a5141d47d2233e2fde16e00c4ef1b4bb
parent 174472 163279f146b9f0df9a0fb0cbdc4c2a7de6584247
child 174474 e61b29079c0255ffb7154b5bd19c3efde828b1bc
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs941607
milestone28.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 941607 - Incorrect preferred width of script l in <mi>. r=karlt
layout/reftests/mathml/reftest.list
layout/reftests/mathml/table-width-4-ref.html
layout/reftests/mathml/table-width-4.html
--- a/layout/reftests/mathml/reftest.list
+++ b/layout/reftests/mathml/reftest.list
@@ -34,17 +34,18 @@ fails-if(winWidget) == mfenced-10.html m
 == mi-mathvariant-1.xhtml mi-mathvariant-1-ref.xhtml
 == mi-mathvariant-2.xhtml mi-mathvariant-2-ref.xhtml
 != non-spacing-accent-1.xhtml non-spacing-accent-1-ref.xhtml
 == overbar-width-1.xhtml overbar-width-1-ref.xhtml
 skip-if(B2G) == quotes-1.xhtml quotes-1-ref.xhtml
 != stretchy-underbar-1.xhtml stretchy-underbar-1-ref.xhtml 
 == table-width-1.xhtml table-width-1-ref.xhtml
 == table-width-2.html table-width-2-ref.html
-fails-if(OSX||/^Windows\x20NT\x206\.[12]/.test(http.oscpu)||Android) == table-width-3.html table-width-3-ref.html
+fails-if(OSX||/^Windows\x20NT\x206\.[^0]/.test(http.oscpu)||Android) == table-width-3.html table-width-3-ref.html
+fails-if((OSX&&(OSX<10.8))||/^Windows\x20NT\x206\.[^0]/.test(http.oscpu)||Android) == table-width-4.html table-width-4-ref.html
 == underbar-width-1.xhtml underbar-width-1-ref.xhtml
 == mathml-type-supported.xhtml mathml-type-supported-ref.xml
 == mtable-align-negative-rownumber.html mtable-align-negative-rownumber-ref.html
 != embellished-op-1-1.html embellished-op-1-1-ref.html
 != embellished-op-1-2.html embellished-op-1-2-ref.html
 != embellished-op-1-3.html embellished-op-1-3-ref.html
 != embellished-op-1-4.html embellished-op-1-4-ref.html
 != embellished-op-1-5.html embellished-op-1-5-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/table-width-4-ref.html
@@ -0,0 +1,53 @@
+<!doctype>
+<html>
+  <head>
+    <title>table-width-4</title>
+    <meta charset="utf-8"/>
+    <style type="text/css">
+      html { background-color: grey; }
+      td { border: 1px solid white;
+      padding: 0;
+      background-color: black;
+      color: black; }
+    </style>
+  </head>
+  <body>
+
+    <table>
+      <tr>
+        <td>
+          <math><mphantom><mi>ℓ</mi><mi>i</mi></mphantom></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mphantom><mtext>ℓ</mtext><mi>i</mi></mphantom></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mphantom><mtext style="font-style: italic">ℓ</mtext><mi>i</mi></mphantom></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mphantom><mtext mathvariant="script">l</mtext><mi>i</mi></mphantom></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mphantom><mi mathvariant="script">l</mi><mi>i</mi></mphantom></math>
+        </td>
+      </tr>
+    </table>
+
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/mathml/table-width-4.html
@@ -0,0 +1,53 @@
+<!doctype>
+<html>
+  <head>
+    <title>table-width-4</title>
+    <meta charset="utf-8"/>
+    <style type="text/css">
+      html { background-color: grey; }
+      td { border: 1px solid white;
+      padding: 0;
+      background-color: black;
+      color: black; }
+    </style>
+  </head>
+  <body>
+
+    <table>
+      <tr>
+        <td>
+          <math><mi>ℓ</mi><mi>i</mi></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mtext>ℓ</mtext><mi>i</mi></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mtext style="font-style: italic">ℓ</mtext><mi>i</mi></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mtext mathvariant="script">l</mtext><mi>i</mi></math>
+        </td>
+      </tr>
+    </table>
+    <table>
+      <tr>
+        <td>
+          <math><mi mathvariant="script">l</mi><mi>i</mi></math>
+        </td>
+      </tr>
+    </table>
+
+  </body>
+</html>