Title: [202563] trunk/LayoutTests
Revision
202563
Author
[email protected]
Date
2016-06-28 07:43:39 -0700 (Tue, 28 Jun 2016)

Log Message

Increase opacity of stretched operators in mo-stacked-glyphs.html
https://bugs.webkit.org/show_bug.cgi?id=159201

Patch by Frederic Wang <[email protected]> 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.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (202562 => 202563)


--- trunk/LayoutTests/ChangeLog	2016-06-28 14:16:36 UTC (rev 202562)
+++ trunk/LayoutTests/ChangeLog	2016-06-28 14:43:39 UTC (rev 202563)
@@ -1,3 +1,18 @@
+2016-06-28  Frederic Wang  <[email protected]>
+
+        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  <[email protected]>
 
         [GTK] Update expectations for subtle crypto layout tests

Modified: trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs-expected.html (202562 => 202563)


--- trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs-expected.html	2016-06-28 14:16:36 UTC (rev 202562)
+++ trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs-expected.html	2016-06-28 14:43:39 UTC (rev 202563)
@@ -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>

Modified: trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs.html (202562 => 202563)


--- trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs.html	2016-06-28 14:16:36 UTC (rev 202562)
+++ trunk/LayoutTests/mathml/presentation/mo-stacked-glyphs.html	2016-06-28 14:43:39 UTC (rev 202563)
@@ -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. -->

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (202562 => 202563)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2016-06-28 14:16:36 UTC (rev 202562)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2016-06-28 14:43:39 UTC (rev 202563)
@@ -2298,9 +2298,6 @@
 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 ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to