testing/web-platform/tests/mathml/relations/text-and-math/mo-glyph-height-with-default-font.html
author Sandor Molnar <smolnar@mozilla.com>
Fri, 11 Jul 2025 19:57:29 +0300 (13 hours ago)
changeset 796221 8ba6984a5604ac7dcf50325b1a0ebadf9e305d22
parent 697979 ab7949b9c72232ad302887c9f457b3d8dfa2d862
permissions -rw-r--r--
Revert "Bug 1972411 - give gnome-shell and pipewire more time to start, and retry the task if we time out. r=jmaher" for causing linux perma failures This reverts commit 2b905fe7199c9210434f7c7f8326b57025c91c55. Revert "Bug 1972411 - make /builds/worker/fetches a volume in the test docker image. r=releng-reviewers,Eijebong" This reverts commit 9d15aecaf6a08b98d3c47f2d0e644e35341b2520.
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <meta charset="UTF-8">
    <title>mo glyph height with default font</title>
    <meta name="assert" content="Verify operators with default fonts are not too tall.">
    <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1219068"/>
    <link rel="match" href="mo-glyph-height-with-default-font-ref.html"/>
  </head>
  <body>
    <math style="position:absolute; top: 0; font-size:1em;  z-index: 0;" display="block">
      <mrow>
        <mo>|</mo>
        <mrow>
          <mi>f</mi>
          <mrow>
            <mn>(</mn>
            <mi>x</mi>
            <mn>)</mn>
          </mrow>
          <mn></mn>
          <mrow>
            <mi>f</mi>
            <mrow>
              <mn>(</mn>
              <msub>
                <mi>x</mi>
                <mn>0</mn>
              </msub>
              <mn>)</mn>
            </mrow>
          </mrow>
        </mrow>
        <mo>|</mo>
      </mrow>
    </math>
    <div id="hider"
         style="position:absolute; top:0; left:0; background-color:green;
                height:1em; width:100%; z-index:1; padding-top:5px;
                padding-bottom:5px; visibility:hidden" />
    <script>
      function obscureMathML() {
          var hider = document.getElementById("hider");
          hider.style.visibility="visible";
          // The math should now be completely obscured

          document.documentElement.removeAttribute("class");
      }
      window.addEventListener("TestRendered", obscureMathML);
    </script>
  </body>
</html>