Title: [202903] trunk/LayoutTests
Revision
202903
Author
[email protected]
Date
2016-07-07 07:09:22 -0700 (Thu, 07 Jul 2016)

Log Message

Improve test mathml/presentation/tokenElements-background-color.html
https://bugs.webkit.org/show_bug.cgi?id=130693

We use the Ahem font to make tokenElements-background-color.html more reliable. However, we
remove the case of italic m because Ahem does not contain the required character U+1D45A.

Patch by Frederic Wang <[email protected]> on 2016-07-07
Reviewed by Martin Robinson.

* mathml/presentation/tokenElements-background-color-expected.html:
* mathml/presentation/tokenElements-background-color.html:
* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator-wk2/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (202902 => 202903)


--- trunk/LayoutTests/ChangeLog	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/ChangeLog	2016-07-07 14:09:22 UTC (rev 202903)
@@ -1,3 +1,20 @@
+2016-07-07  Frederic Wang  <[email protected]>
+
+        Improve test mathml/presentation/tokenElements-background-color.html
+        https://bugs.webkit.org/show_bug.cgi?id=130693
+
+        We use the Ahem font to make tokenElements-background-color.html more reliable. However, we
+        remove the case of italic m because Ahem does not contain the required character U+1D45A.
+
+        Reviewed by Martin Robinson.
+
+        * mathml/presentation/tokenElements-background-color-expected.html:
+        * mathml/presentation/tokenElements-background-color.html:
+        * platform/ios-simulator-wk1/TestExpectations:
+        * platform/ios-simulator-wk2/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/win/TestExpectations:
+
 2016-07-07  Frederic Wang  <[email protected]>
 
         Fix the name of mathml-in-dashboard-expected.txt for iOS.

Modified: trunk/LayoutTests/mathml/presentation/tokenElements-background-color-expected.html (202902 => 202903)


--- trunk/LayoutTests/mathml/presentation/tokenElements-background-color-expected.html	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/mathml/presentation/tokenElements-background-color-expected.html	2016-07-07 14:09:22 UTC (rev 202903)
@@ -12,6 +12,9 @@
       math > mrow > mrow {
         visibility: hidden;
       }
+      mo, mtext, mn, mi {
+        font: 20px Ahem;
+      }
     </style>
   </head>
   <body>
@@ -22,7 +25,6 @@
         <mrow><mrow><mo>mo</mo></mrow></mrow>
         <mrow><mrow><mo>+</mo></mrow></mrow>
         <mrow><mrow><mi>mi</mi></mrow></mrow>
-        <mrow><mrow><mi>m</mi></mrow></mrow>
         <mrow><mrow><mn>mn</mn></mrow></mrow>
       </math>
     </p>

Modified: trunk/LayoutTests/mathml/presentation/tokenElements-background-color.html (202902 => 202903)


--- trunk/LayoutTests/mathml/presentation/tokenElements-background-color.html	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/mathml/presentation/tokenElements-background-color.html	2016-07-07 14:09:22 UTC (rev 202903)
@@ -11,6 +11,7 @@
       }
       mo, mtext, mn, mi {
         background: #faa;
+        font: 20px Ahem;
       }
     </style>
   </head>
@@ -25,7 +26,6 @@
         <mo>mo</mo>
         <mo>+</mo>
         <mi>mi</mi>
-        <mi>m</mi>
         <mn>mn</mn>
       </math>
     </p>

Modified: trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations (202902 => 202903)


--- trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations	2016-07-07 14:09:22 UTC (rev 202903)
@@ -736,7 +736,6 @@
 # MathML tests that fail:
 mathml/presentation/mo-stretch-update.html [ ImageOnlyFailure ]
 mathml/presentation/scripts-subsup.html [ ImageOnlyFailure ]
-mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
 
 # SVG tests that fail:
 imported/mozilla/svg/smil/motion/animateMotion-values-linear-1.svg [ ImageOnlyFailure ]

Modified: trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations (202902 => 202903)


--- trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations	2016-07-07 14:09:22 UTC (rev 202903)
@@ -134,9 +134,6 @@
 # WebKitTestRunner needs testRunner.setUseDashboardCompatibilityMode
 mathml/mathml-in-dashboard.html [ Skip ]
 
-# MathML tests that fail due to slight pixel differences:
-mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
-
 # SVG tests that time out (these require EventSender)
 svg/animations/animVal-basics.html
 svg/animations/animate-calcMode-spline-by.html

Modified: trunk/LayoutTests/platform/mac/TestExpectations (202902 => 202903)


--- trunk/LayoutTests/platform/mac/TestExpectations	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2016-07-07 14:09:22 UTC (rev 202903)
@@ -808,7 +808,6 @@
 # MathML tests that fail:
 mathml/presentation/multiscripts-positions.html [ Pass ImageOnlyFailure ]
 mathml/presentation/scripts-subsup.html [ Pass ImageOnlyFailure ]
-webkit.org/b/130693 mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
 
 webkit.org/b/128255 compositing/columns/composited-lr-paginated-repaint.html [ Pass Failure ]
 webkit.org/b/128255 compositing/columns/composited-rl-paginated-repaint.html [ Pass Failure ]

Modified: trunk/LayoutTests/platform/win/TestExpectations (202902 => 202903)


--- trunk/LayoutTests/platform/win/TestExpectations	2016-07-07 14:01:00 UTC (rev 202902)
+++ trunk/LayoutTests/platform/win/TestExpectations	2016-07-07 14:09:22 UTC (rev 202903)
@@ -1940,7 +1940,6 @@
 ##################          MathML Issues                   ####################
 ################################################################################
 mathml/presentation/mo-stacked-glyphs.html [ ImageOnlyFailure ]
-mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
 mathml/presentation/style-changed.html [ Crash Pass ]
 mathml/opentype/large-operators-munderover.html [ Failure ]
 mathml/presentation/attributes-mathvariant.html [ ImageOnlyFailure ]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to