Increase opacity of stretched operators in mo-stacked-glyphs.html
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jun 2016 14:43:39 +0000 (14:43 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Jun 2016 14:43:39 +0000 (14:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=159201

Patch by Frederic Wang <fwang@igalia.com> on 2016-06-28
Reviewed by Martin Robinson.

The reftest mo-stacked-glyphs.html fails with small pixel differences invisible at the naked
eyes. We increase opacity of stretched operators in that test to reduce these differences and
make the test pass.

* mathml/presentation/mo-stacked-glyphs-expected.html: Increase opacity of stretched operators.
* mathml/presentation/mo-stacked-glyphs.html: Ditto.
* platform/gtk/TestExpectations: Remove failure expectation.

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

LayoutTests/ChangeLog
LayoutTests/mathml/presentation/mo-stacked-glyphs-expected.html
LayoutTests/mathml/presentation/mo-stacked-glyphs.html
LayoutTests/platform/gtk/TestExpectations

index 6013012..c84b678 100644 (file)
@@ -1,3 +1,18 @@
+2016-06-28  Frederic Wang  <fwang@igalia.com>
+
+        Increase opacity of stretched operators in mo-stacked-glyphs.html
+        https://bugs.webkit.org/show_bug.cgi?id=159201
+
+        Reviewed by Martin Robinson.
+
+        The reftest mo-stacked-glyphs.html fails with small pixel differences invisible at the naked
+        eyes. We increase opacity of stretched operators in that test to reduce these differences and
+        make the test pass.
+
+        * mathml/presentation/mo-stacked-glyphs-expected.html: Increase opacity of stretched operators.
+        * mathml/presentation/mo-stacked-glyphs.html: Ditto.
+        * platform/gtk/TestExpectations: Remove failure expectation.
+
 2016-06-28  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         [GTK] Update expectations for subtle crypto layout tests
index d9f2a64..2b30b1f 100644 (file)
@@ -6,7 +6,7 @@
   </head>
   <body>
 
-    <div style="position: absolute; top: 25px; left: 0; opacity: 0.5;">
+    <div style="position: absolute; top: 25px; left: 0; opacity: 0.75;">
       <math>
         <mrow>
           <mo>(</mo>
@@ -22,7 +22,7 @@
       </math>
     </div>
 
-    <div style="position: absolute; top: 25px; left: 0; opacity: 0.5;">
+    <div style="position: absolute; top: 25px; left: 0; opacity: 0.75;">
       <math>
         <mrow>
           <mo>(</mo>
index a93e725..ff669ee 100644 (file)
@@ -7,7 +7,7 @@
   <body>
 
     <!-- Test some stretchy operators requiring stacked glyphs at large sizes. -->
-    <div style="position: absolute; top: 25px; left: 0; opacity: 0.5;">
+    <div style="position: absolute; top: 25px; left: 0; opacity: 0.75;">
       <math>
         <mrow>
           <mo>(</mo>
@@ -24,7 +24,7 @@
     </div>
 
     <!-- Same operators, but shifted vertically by one pixel. -->
-    <div style="position: absolute; top: 26px; left: 0; opacity: 0.5;">
+    <div style="position: absolute; top: 26px; left: 0; opacity: 0.75;">
       <math>
         <mrow>
           <mo>(</mo>
@@ -42,7 +42,7 @@
     
     <!-- Some horizontal bands to hide the top/middle/bottom parts of the
          operators and only show the straight lines. Note that the two previous
-         <div> elements have opacity=0.5 and are only shifted vertically by
+         <div> elements have opacity>0.5 and are only shifted vertically by
          one pixel. Hence the overlapped <div>'s should look like one <div> of
          opacity=1, provided there are no gaps between the stacked glyphs and
          that these glyphs are perfectly aligned. -->
index 5d0cad6..3c56d43 100644 (file)
@@ -2298,9 +2298,6 @@ webkit.org/b/133803 editing/input/option-page-up-down.html [ Failure ]
 webkit.org/b/133803 editing/input/scroll-viewport-page-up-down.html [ Failure ]
 webkit.org/b/133803 editing/undo/undo-deleteWord.html [ Failure ]
 
-# Difference invisible at the naked eye with Latin Modern Math.
-webkit.org/b/134153 mathml/presentation/mo-stacked-glyphs.html [ ImageOnlyFailure ]
-
 webkit.org/b/134976 media/media-controls-invalid-url.html [ Failure ]
 webkit.org/b/134976 media/video-fast-seek.html [ Failure ]