Skip to content

Commit

Permalink
Bug 1882817 - Export a crashtest for bigotimes to WPT. r=emilio
Browse files Browse the repository at this point in the history
This case was included in a reftest in order to exercise an assertion
related to the direction passed for operator stretching but no visual
are JS checks are actually performed on it. So export it in its own
separate crash test instead.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1092053#c9

Differential Revision: https://phabricator.services.mozilla.com/D203394
  • Loading branch information
fred-wang committed Mar 4, 2024
1 parent d321b0d commit 802cdcb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
11 changes: 0 additions & 11 deletions layout/reftests/mathml/stretchy-largeop-1-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,5 @@
<mrow>
</math>
</p>
<p>
<!-- &bigotimes; included in the test to check for an assertion involving
the direction of the largeop pre-stretch -->
<math displaystyle="true">
<mrow>
<mo id="mo4">(</mo>
<mo>&bigotimes;</mo>
<mo id="mo5">)</mo>
<mrow>
</math>
</p>
</body>
</html>
11 changes: 0 additions & 11 deletions layout/reftests/mathml/stretchy-largeop-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,5 @@
<mrow>
</math>
</p>
<p>
<!-- &bigotimes; included in the test to check for an assertion involving
the direction of the largeop pre-stretch -->
<math displaystyle="true">
<mrow>
<mo id="mo4">(</mo>
<mo>&bigotimes;</mo>
<mo id="mo5">)</mo>
<mrow>
</math>
</p>
</body>
</html>
20 changes: 20 additions & 0 deletions testing/web-platform/tests/mathml/crashtests/mozilla/1092053.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Largeop stretching</title>
<meta charset="utf-8"/>
</head>
<body>
<p>
<!-- &bigotimes; allows to check for an assertion involving
the direction of the largeop pre-stretch -->
<math displaystyle="true">
<mrow>
<mo id="mo4">(</mo>
<mo>&bigotimes;</mo>
<mo id="mo5">)</mo>
</mrow>
</math>
</p>
</body>
</html>

0 comments on commit 802cdcb

Please sign in to comment.