diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html b/testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html new file mode 100644 index 0000000000..db39cc97cc --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/operator-stretching/scale-stretchy-002.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"/> + <title>Minimal size for a vertical arrow stretched by scaling</title> + <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=414277"> + <link rel="mismatch" href="scale-stretchy-002-ref.html"> + <meta name="assert" content="Verify minimal height of vertical operator stretched by scaling."> + </head> + <body> + <!-- This assumes that the system fonts do not provide a way to draw a + bigger U+290B DOWNWARDS TRIPLE ARROW and that preference + `mathml.scale_stretchy_operators` is enabled, so that we exercise + stretching of largeop using a scale. This test may still pass if + stretching is not performed via a scale though. --> + <table style="position: absolute;"> + <tr> + <td><div style="height: 200px; width: 5px; background: black"/></td> + <td> + <math xmlns="http://www.w3.org/1998/Math/MathML"> + <mrow> + <mspace height="50px" depth="50px" width="5px" + style="background: yellow" /> + <mo style="color: blue;">⤋</mo> + </mrow> + </math> + </td> + </tr> + </table> + <!-- The green rect is slightly shorter than the target size so it should + not completely cover the operator. --> + <table style="position: absolute;"> + <tr> + <td><div style="height: 200px; width: 5px; background: black"/></td> + <td> + <math xmlns="http://www.w3.org/1998/Math/MathML"> + <mrow> + <mspace height="50px" depth="50px" width="5px" + style="background: yellow" /> + <mspace height="44px" depth="44px" width="50px" + style="background: green;"/> + </mrow> + </math> + </td> + </tr> + </table> + </body> +</html> |