diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /layout/reftests/mathml/stretchy-largeop-1.html | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/stretchy-largeop-1.html')
-rw-r--r-- | layout/reftests/mathml/stretchy-largeop-1.html | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/layout/reftests/mathml/stretchy-largeop-1.html b/layout/reftests/mathml/stretchy-largeop-1.html deleted file mode 100644 index bb63c8a435..0000000000 --- a/layout/reftests/mathml/stretchy-largeop-1.html +++ /dev/null @@ -1,81 +0,0 @@ -<!DOCTYPE html> -<html class="reftest-wait"> - <head> - <title>Largeop stretching</title> - <meta charset="utf-8"/> - <script type="text/javascript"> - - function verifyGreaterThan(aElement, aReference) { - /* Verify that the height of the element is greater than that of the - reference, and otherwise paint the element in red. */ - var element = document.getElementById(aElement); - var ref = document.getElementById(aReference); - if (element.getBoundingClientRect().height - - ref.getBoundingClientRect().height <= 1) { - element.setAttribute("mathcolor", "red"); - } - } - - function doTest() { - /* Ensure that the parentheses in the displaystyle case stretch more - than the alternative. */ - verifyGreaterThan("mo0", "mo0a"); - verifyGreaterThan("mo1", "mo1a"); - verifyGreaterThan("mo2", "mo2a"); - verifyGreaterThan("mo3", "mo3a"); - - document.documentElement.removeAttribute("class"); - - } - </script> - </head> - <body onload="doTest();"> - <p> - <math displaystyle="true"> - <mrow> - <mo id="mo0">(</mo> - <mo>∫</mo> - <mo id="mo1">)</mo> - <mrow> - </math> - </p> - <p> - <math> - <mrow> - <mo id="mo0a">(</mo> - <mo>∫</mo> - <mo id="mo1a">)</mo> - <mrow> - </math> - </p> - <p> - <math displaystyle="true"> - <mrow> - <mo id="mo2">(</mo> - <mo>∏</mo> - <mo id="mo3">)</mo> - <mrow> - </math> - </p> - <p> - <math> - <mrow> - <mo id="mo2a">(</mo> - <mo>∏</mo> - <mo id="mo3a">)</mo> - <mrow> - </math> - </p> - <p> - <!-- ⨂ 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>⨂</mo> - <mo id="mo5">)</mo> - <mrow> - </math> - </p> - </body> -</html> |