Fix reftest failure of mathml/presentation/bug95404.html.
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Mar 2014 12:21:01 +0000 (12:21 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Mar 2014 12:21:01 +0000 (12:21 +0000)
Unreviewed gardering.

After bug 116600, the test is only failing because of some difference
invisible by the naked eye, due to antialiasing of the radical symbol.

* mathml/presentation/bug95404-expected.html: add a 2px border to prevent antialiasing.
* mathml/presentation/bug95404.html: ditto.
* platform/efl/TestExpectations: remove test failure.
* platform/gtk/TestExpectations: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/mathml/presentation/bug95404-expected.html
LayoutTests/mathml/presentation/bug95404.html
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations

index eee7831..8011c38 100644 (file)
@@ -1,3 +1,17 @@
+2014-03-19  Frédéric Wang  <fred.wang@free.fr>
+
+        Fix reftest failure of mathml/presentation/bug95404.html.
+
+        Unreviewed gardering.
+
+        After bug 116600, the test is only failing because of some difference
+        invisible by the naked eye, due to antialiasing of the radical symbol.
+
+        * mathml/presentation/bug95404-expected.html: add a 2px border to prevent antialiasing.
+        * mathml/presentation/bug95404.html: ditto.
+        * platform/efl/TestExpectations: remove test failure.
+        * platform/gtk/TestExpectations: ditto.
+
 2014-03-18  Andrei Bucur  <abucur@adobe.com>
 
         [CSS Regions] Strange layout for content with region breaks
index a938835..5762684 100644 (file)
@@ -11,8 +11,9 @@
   </head>
   <body>
 
-    <div style="position: absolute; top: 0; width: 100%;">
-      <div style="position: absolute; top: 0; background: red; width: 100%;">
+    <div style="position: absolute; top: 1em; left: 0; width: 100%;">
+      <div style="position: absolute; top: -2px; left: -2px; width: 100%;
+                  border: 2px solid green; background: red;">
         <math style="visibility: hidden;">
           <msqrt>
             <mi>x</mi>
@@ -22,8 +23,9 @@
       </div>
     </div>
 
-    <div style="position: absolute; top: 5em; width: 100%;">
-      <div style="position: absolute; top: 0; background: blue; width: 100%;">
+    <div style="position: absolute; top: 5em; left: 0; width: 100%;">
+      <div style="position: absolute; top: -2px; left: -2px; width: 100%;
+                  border: 2px solid green; background: blue;">
         <math style="visibility: hidden;">
           <msup>
             <mi>x</mi>
@@ -33,6 +35,5 @@
       </div>
     </div>
 
-
   </body>
 </html>
index cf24a89..30ae992 100644 (file)
 
     <!-- The first msqrt should not wrap and so should be hidden by the
          red rectangle -->
-    <div style="position: absolute; top: 0; width: 100%;">
-      <div style="position: absolute; top: 0;">
+    <div style="position: absolute; top: 1em; left: 0; width: 100%;">
+      <div style="position: absolute; top: 0; left: 0;">
         <math>
           <msqrt>
-            <mi style="padding-right: 50vw">x</mi>
-            <mi style="padding-right: 50vw">y</mi>
+            <mi style="padding-right: 50vw;">x</mi>
+            <mi style="padding-right: 50vw;">y</mi>
           </msqrt>
         </math>
       </div>
-      <div style="position: absolute; top: 0; background: red; width: 100%;">
+      <div style="position: absolute; top: -2px; left: -2px; width: 100%;
+                  border: 2px solid green; background: red;">
         <math style="visibility: hidden;">
           <msqrt>
             <mi>x</mi>
@@ -34,8 +35,8 @@
 
     <!-- The first msup should not wrap and so should be hidden by the
          blue rectangle -->
-    <div style="position: absolute; top: 5em; width: 100%;">
-      <div style="position: absolute; top: 0;">
+    <div style="position: absolute; top: 5em; left: 0; width: 100%;">
+      <div style="position: absolute; top: 0; left: 0;">
         <math>
           <msup>
             <mi style="padding-right: 50vw">x</mi>
@@ -43,7 +44,8 @@
           </msup>
         </math>
       </div>
-      <div style="position: absolute; top: 0; background: blue; width: 100%;">
+      <div style="position: absolute; top: -2px; left: -2px; width: 100%;
+                  border: 2px solid green; background: blue;">
         <math style="visibility: hidden;">
           <msup>
             <mi>x</mi>
index d38345d..181d82f 100644 (file)
@@ -1653,9 +1653,6 @@ webkit.org/b/122511 fast/regions/selection/selecting-text-ignoring-region-vert-l
 webkit.org/b/122511 fast/regions/selection/selecting-text-in-2-regions-horiz-bt.html [ ImageOnlyFailure ]
 webkit.org/b/122511 fast/regions/selection/selecting-text-in-2-regions-vert-lr.html [ ImageOnlyFailure ]
 
-# Radical sign is overflowing red background
-webkit.org/b/124045 mathml/presentation/bug95404.html [ ImageOnlyFailure ]
-
 # css3 reftests are failing after r154875
 webkit.org/b/120596 css3/background/background-repeat-space-border.html [ ImageOnlyFailure ]
 webkit.org/b/120596 css3/background/background-repeat-space-content.html [ ImageOnlyFailure ]
index b02df36..361e2c4 100644 (file)
@@ -1277,9 +1277,6 @@ webkit.org/b/118420 [ Release ] fast/dom/gc-dom-tree-lifetime.html [ Failure ]
 # May take too long on the bots.
 Bug(GTK) mathml/very-large-stretchy-operators.html [ Pass Timeout ]
 
-# MathML tests failing after MathML pixel tests were replaced with ref tests
-webkit.org/b/118904 mathml/presentation/bug95404.html [ ImageOnlyFailure ]
-
 webkit.org/b/119840 http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials.html [ Failure ]
 
 webkit.org/b/119841 fast/sub-pixel/sub-pixel-composited-layers.html [ ImageOnlyFailure ]