Bug 1847034 - Export reftests for MathML embellished operators to WPT. r=emilio
commitd9b0ed5cf992e82d3992db27ad24c3e885aaada1
authorFrederic Wang <fred.wang@free.fr>
Fri, 4 Aug 2023 09:31:32 +0000 (4 09:31 +0000)
committerFrederic Wang <fred.wang@free.fr>
Fri, 4 Aug 2023 09:31:32 +0000 (4 09:31 +0000)
treed7d2df4d74f8b527a9f10695d3c51182d1bf1255
parent8dc5180e6d9d6235dc3d666e4c2cb2fe4bb37a47
Bug 1847034 - Export reftests for MathML embellished operators to WPT. r=emilio

The tests exported in this patch use complex embellished operators and
verify whether or not the operator stretches. To avoid relying on
systems fonts and make the visual rendering more reliable, we use the
Ahem font for text as well as operators.woff for stretchy operators.
stretchy-mover-2a.html is currently failing so we preserve this
annotation. Some unrelated alignment issue were happening with
stretchy-mover-1a/b, which are worked around by wrapping the <math>
tag in a container div.

Differential Revision: https://phabricator.services.mozilla.com/D185308
99 files changed:
layout/reftests/mathml/embellished-op-1-2.html [deleted file]
layout/reftests/mathml/embellished-op-1-3.html [deleted file]
layout/reftests/mathml/embellished-op-1-4.html [deleted file]
layout/reftests/mathml/embellished-op-2-1.html [deleted file]
layout/reftests/mathml/embellished-op-2-2.html [deleted file]
layout/reftests/mathml/embellished-op-2-3.html [deleted file]
layout/reftests/mathml/embellished-op-3-2.html [deleted file]
layout/reftests/mathml/embellished-op-3-3.html [deleted file]
layout/reftests/mathml/embellished-op-3-5.html [deleted file]
layout/reftests/mathml/embellished-op-4-1.html [deleted file]
layout/reftests/mathml/embellished-op-4-2.html [deleted file]
layout/reftests/mathml/embellished-op-4-3.html [deleted file]
layout/reftests/mathml/embellished-op-5-2.html [deleted file]
layout/reftests/mathml/reftest.list
layout/reftests/mathml/stretchy-mover-1-ref.html [deleted file]
layout/reftests/mathml/stretchy-mover-1a.html [deleted file]
layout/reftests/mathml/stretchy-mover-1b.html [deleted file]
layout/reftests/mathml/stretchy-mover-2a.html [deleted file]
layout/reftests/mathml/stretchy-mover-2b.html [deleted file]
layout/reftests/mathml/stretchy-mover-3.html [deleted file]
layout/reftests/mathml/stretchy-msup-1a.html [deleted file]
layout/reftests/mathml/stretchy-msup-1b.html [deleted file]
layout/reftests/mathml/stretchy-msup-1c.html [deleted file]
layout/reftests/mathml/stretchy-msup-1d.html [deleted file]
layout/reftests/mathml/stretchy-munderover-1a.html [deleted file]
layout/reftests/mathml/stretchy-munderover-1b.html [deleted file]
layout/reftests/mathml/stretchy-munderover-1c.html [deleted file]
layout/reftests/mathml/stretchy-munderover-1d.html [deleted file]
layout/reftests/mathml/stretchy-munderover-2c.html [deleted file]
layout/reftests/mathml/stretchy-munderover-3a.html [deleted file]
layout/reftests/mathml/stretchy-munderover-3b.html [deleted file]
layout/reftests/mathml/stretchy-munderover-3c.html [deleted file]
layout/reftests/mathml/stretchy-munderover-3d.html [deleted file]
testing/web-platform/meta/mathml/presentation-markup/scripts/stretchy-mover-2a.html.ini [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-2-ref.html [moved from layout/reftests/mathml/embellished-op-1-2-ref.html with 57% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-2.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-3-ref.html [moved from layout/reftests/mathml/embellished-op-1-3-ref.html with 57% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-3.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-4-ref.html [moved from layout/reftests/mathml/embellished-op-1-4-ref.html with 58% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-4.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-5-ref.html [moved from layout/reftests/mathml/embellished-op-1-5-ref.html with 63% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-1-5.html [moved from layout/reftests/mathml/embellished-op-1-5.html with 52% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-1-ref.html [moved from layout/reftests/mathml/embellished-op-2-1-ref.html with 58% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-1.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-2-ref.html [moved from layout/reftests/mathml/embellished-op-2-2-ref.html with 58% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-2.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-3-ref.html [moved from layout/reftests/mathml/embellished-op-2-3-ref.html with 62% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-3.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-4-ref.html [moved from layout/reftests/mathml/embellished-op-2-4-ref.html with 66% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-2-4.html [moved from layout/reftests/mathml/embellished-op-2-4.html with 56% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-2-ref.html [moved from layout/reftests/mathml/embellished-op-3-2-ref.html with 60% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-2.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-3-ref.html [moved from layout/reftests/mathml/embellished-op-3-3-ref.html with 61% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-3.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-4-ref.html [moved from layout/reftests/mathml/embellished-op-3-4-ref.html with 61% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-4.html [moved from layout/reftests/mathml/embellished-op-3-4.html with 50% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-5-ref.html [moved from layout/reftests/mathml/embellished-op-3-5-ref.html with 61% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-3-5.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-1-ref.html [moved from layout/reftests/mathml/embellished-op-4-1-ref.html with 62% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-1.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-2-ref.html [moved from layout/reftests/mathml/embellished-op-4-2-ref.html with 59% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-2.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-3-ref.html [moved from layout/reftests/mathml/embellished-op-4-3-ref.html with 59% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-4-3.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-5-1.html [moved from layout/reftests/mathml/embellished-op-5-1.html with 50% similarity]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-5-2.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/operators/embellished-op-5-ref.html [moved from layout/reftests/mathml/embellished-op-5-ref.html with 52% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-1-ref.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-1a.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-1b.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-2-ref.html [moved from layout/reftests/mathml/stretchy-mover-2-ref.html with 56% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-2a.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-2b.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-3-ref.html [moved from layout/reftests/mathml/stretchy-mover-3-ref.html with 51% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-mover-3.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-msup-1-ref.html [moved from layout/reftests/mathml/stretchy-msup-1-ref.html with 51% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-msup-1a.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-msup-1b.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-msup-1c.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-msup-1d.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1-ref.html [moved from layout/reftests/mathml/stretchy-munderover-1-ref.html with 56% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1a.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1b.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1c.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1d.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-1e.html [moved from layout/reftests/mathml/stretchy-munderover-1e.html with 50% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2-ref.html [moved from layout/reftests/mathml/stretchy-munderover-2-ref.html with 61% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2a.html [moved from layout/reftests/mathml/stretchy-munderover-2a.html with 51% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2b.html [moved from layout/reftests/mathml/stretchy-munderover-2b.html with 54% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2c.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2d.html [moved from layout/reftests/mathml/stretchy-munderover-2d.html with 51% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2e.html [moved from layout/reftests/mathml/stretchy-munderover-2e.html with 51% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2f.html [moved from layout/reftests/mathml/stretchy-munderover-2f.html with 53% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-2g.html [moved from layout/reftests/mathml/stretchy-munderover-2g.html with 54% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-3-ref.html [moved from layout/reftests/mathml/stretchy-munderover-3-ref.html with 57% similarity]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-3a.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-3b.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-3c.html [new file with mode: 0644]
testing/web-platform/tests/mathml/presentation-markup/scripts/stretchy-munderover-3d.html [new file with mode: 0644]