Bug 1882817 - Convert reftest for stretchy equal sign to an internal WPT. r=emilio

This is a mismatch reftest introduced in bug 854339 to verify it is
possible to horizontally stretch the equal sign using unicode-based
glyph assembly such as the ones described in [1]. This is non-normative,
so keep it as an internal test for now.

[1] https://w3c.github.io/mathml-core/#unicode-based-glyph-assemblies

Differential Revision: https://phabricator.services.mozilla.com/D203426
This commit is contained in:
Frédéric Wang 2024-03-04 16:28:37 +00:00
Родитель 1f168cc71c
Коммит a6a7ef0ceb
5 изменённых файлов: 24 добавлений и 18 удалений

Просмотреть файл

@ -5,7 +5,6 @@
fails-if(cocoaWidget) == scale-stretchy-3.xhtml scale-stretchy-3-ref.xhtml
!= scale-stretchy-4.xhtml scale-stretchy-4-ref.xhtml
!= scale-stretchy-5.xhtml scale-stretchy-5-ref.xhtml
!= stretchy-1.html stretchy-1-ref.html
== scriptlevel-movablelimits-1.html scriptlevel-movablelimits-1-ref.html
== munderover-align-accent-false.html munderover-align-accent-false-ref.html
== munderover-align-accent-true.html munderover-align-accent-true-ref.html

Просмотреть файл

@ -1,14 +0,0 @@
<!DOCTYPE html>
<html>
<head><title>Test stretchy equal (bug 854339)</title></head>
<body>
<math>
<munder>
<mi>AVERYLONGBASE</mi>
<mo stretchy="true">=</mo>
</munder>
</math>
</body>
</html>

Просмотреть файл

@ -46,6 +46,9 @@ any specification:
interpretation is unclear in current version of MathML Core.
See [issue 132](https://github.com/w3c/mathml-core/issues/132).
- `operator-stretching`: Tests for operator stretching, using Gecko-specific
methods that are not part of the current version of MathML Core.
- `rtl`: Tests for RTL MathML, for aspects not completely defined in
MathML Core or for which we use things like scale transform for
mirroring.

Просмотреть файл

@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
<head><title>Test stretchy equal (bug 854339)</title></head>
<head>
<title>Horizontal stretching of equal of U+003D EQUAL SIGN with default font (reference)</title>
</head>
<body>
<math>
<munder>
<mi>AVERYLONGBASE</mi>
<mo stretchy="false">=</mo>
</munder>
</math>
</body>
</html>

Просмотреть файл

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Horizontal stretching of U+003D EQUAL SIGN with default font</title>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=854339">
<link rel="help" href="https://w3c.github.io/mathml-core/#unicode-based-glyph-assemblies">
<link rel="mismatch" href="stretch-equal-sign-with-default-font-ref.html">
<meta name="assert" content="Verify EQUAL SIGN can be stretched horizontally with default fonts.">
</head>
<body>
<math>
<munder>
<mi>AVERYLONGBASE</mi>
<mo stretchy="true">=</mo>
</munder>
</math>
</body>
</html>