diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /layout/reftests/mathml/subscript-italic-correction.html | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/mathml/subscript-italic-correction.html')
-rw-r--r-- | layout/reftests/mathml/subscript-italic-correction.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/layout/reftests/mathml/subscript-italic-correction.html b/layout/reftests/mathml/subscript-italic-correction.html deleted file mode 100644 index 04be7ba5f9..0000000000 --- a/layout/reftests/mathml/subscript-italic-correction.html +++ /dev/null @@ -1,61 +0,0 @@ -<!DOCTYPE html> -<html class="reftest-wait"> - <head> - <title>subscript</title> - <meta charset="utf-8"/> - <script type="text/javascript"> - function verifyItalicCorrections() - { - var epsilon = 2; - for (var i = 0; i < 8; i += 2) { - var sub = document.getElementById("s" + i); - var sup = document.getElementById("s" + (i+1)); - var italicCorrection = - sup.getBoundingClientRect().left - sub.getBoundingClientRect().left; - if (italicCorrection < epsilon) { - return false; - } - } - return true; - } - - function doTest() - { - if (verifyItalicCorrections()) { - document.body.style.background = "#5f5"; - } - document.documentElement.removeAttribute("class"); - } - window.addEventListener("MozReftestInvalidate", doTest); - </script> - </head> - <body style="background: #f00; font-size: 50px;"> - - <div> - <math> - <msubsup> - <mi mathbackground="#5f5">f</mi> - <mspace id="s0" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s1" width="50px" height="50px" mathbackground="blue"/> - </msubsup> - </math> - </div> - - <br/> - - <div> - <math> - <mmultiscripts> - <mi mathbackground="#5f5">f</mi> - <mspace id="s2" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s3" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s4" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s5" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s6" width="50px" height="50px" mathbackground="blue"/> - <mspace id="s7" width="50px" height="50px" mathbackground="blue"/> - </mmultiscripts> - </math> - </div> - - </body> -</html> |