From b3364db53e73c5416720e99412e33e182393d324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Sat, 3 Oct 2020 10:30:36 +0000 Subject: [PATCH] Bug 1668204 [wpt PR 25871] - Tweak some subsup tests to make them less strict, a=testonly Automatic update from web-platform-tests Tweak some subsup tests to make them less strict (#25871) These tests are sometimes failing on firefox locally, because they depend on the font used. Also the rules when a MATH table is not used are not clear yet and spec and implementations differ. This commit tweaks subsup tests so that: - They use Ahem rather than system fonts. - Error is relaxed. - position of sup/sup script is checked to be above/below the middle of the base than close to the top/bottom of the base. -- wpt-commits: a1d3637978a5de61b2b6008fa9fdbae1682c7e4d wpt-pr: 25871 --- .../presentation-markup/scripts/subsup-1.html | 22 +++++++------- .../presentation-markup/scripts/subsup-2.html | 30 +++++++++---------- .../presentation-markup/scripts/subsup-3.html | 10 +++---- 3 files changed, 29 insertions(+), 33 deletions(-) diff --git a/testing/web-platform/tests/mathml/presentation-markup/scripts/subsup-1.html b/testing/web-platform/tests/mathml/presentation-markup/scripts/subsup-1.html index e5321d6c4a3c..1c3b04dd4169 100644 --- a/testing/web-platform/tests/mathml/presentation-markup/scripts/subsup-1.html +++ b/testing/web-platform/tests/mathml/presentation-markup/scripts/subsup-1.html @@ -8,15 +8,15 @@ + + +