diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html b/testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html new file mode 100644 index 0000000000..b63e84ac84 --- /dev/null +++ b/testing/web-platform/mozilla/tests/mathml/menclose/menclose-2-actuarial-ref.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <head> + <title>menclose actuarial</title> + <meta charset="utf-8"/> + <link rel="stylesheet" href="/fonts/ahem.css" /> + <style> + math, svg { + font: 25px/1 Ahem; + } + </style> + <script type="text/javascript"> + function doTest() + { + var box = document.getElementById("box").getBoundingClientRect(); + document.getElementById("path").setAttribute("d", + "M" + (box.left + "," + box.top) + + "L" + ((box.width+box.left) + "," + box.top) + + "L" + ((box.width+box.left) + "," + box.bottom )); + document.documentElement.removeAttribute("class"); + } + document.documentElement.addEventListener("TestRendered",doTest); + </script> + </head> + <body> + + <div style="position: absolute; left: 20px; top: 20px;"> + <math> + <mphantom> + <menclose id="box" notation="actuarial"> + <mspace width="200px" height="100px"></mspace> + </menclose> + </mphantom> + </math> + </div> + + <div style="position: absolute; left: 0px; top: 0px;"> + <svg width="500px" height="500px"> + <path id="path" style="fill: none; stroke-width: .5em; stroke: green; stroke-linecap: round; shape-rendering: crispEdges;"></path> + </svg> + </div> + + </body> +</html> |