diff --git a/testing/web-platform/tests/fonts/math/radical-negativekernbeforedegree1000-rulethickness1000.woff b/testing/web-platform/tests/fonts/math/radical-negativekernbeforedegree1000-rulethickness1000.woff new file mode 100644 index 0000000000000..ef00335b1cbed Binary files /dev/null and b/testing/web-platform/tests/fonts/math/radical-negativekernbeforedegree1000-rulethickness1000.woff differ diff --git a/testing/web-platform/tests/mathml/presentation-markup/radicals/root-parameters-2.html b/testing/web-platform/tests/mathml/presentation-markup/radicals/root-parameters-2.html new file mode 100644 index 0000000000000..c5f10b7babf58 --- /dev/null +++ b/testing/web-platform/tests/mathml/presentation-markup/radicals/root-parameters-2.html @@ -0,0 +1,78 @@ + + +
+ ++ +
++ +
+ + diff --git a/testing/web-platform/tests/mathml/tools/radicals.py b/testing/web-platform/tests/mathml/tools/radicals.py index e13f9333f3adb..d0d7698c41a98 100644 --- a/testing/web-platform/tests/mathml/tools/radicals.py +++ b/testing/web-platform/tests/mathml/tools/radicals.py @@ -115,3 +115,16 @@ def createStretchyRadical(aFont): f.math.RadicalRuleThickness = v2 f.math.RadicalVerticalGap = v1 mathfont.save(f) + +v1 = 1 * mathfont.em +v2 = 1 * mathfont.em +f = mathfont.create("radical-negativekernbeforedegree%d-rulethickness%d" % (v1, v2), "Copyright (c) 2020 Igalia S.L.") +createStretchyRadical(f) +f.math.RadicalDegreeBottomRaisePercent = 0 +f.math.RadicalDisplayStyleVerticalGap = 0 +f.math.RadicalExtraAscender = 0 +f.math.RadicalKernAfterDegree = 0 +f.math.RadicalKernBeforeDegree = -v1 +f.math.RadicalRuleThickness = v2 +f.math.RadicalVerticalGap = 0 +mathfont.save(f)