summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/operators/munderover-accentunder-dynamic-001.html
blob: 33fc5b3f21269518b635509ee21693019771cc14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <title>munderover@accentunder</title>
    <meta charset="utf-8"/>
    <link rel="help" href="https://www.w3.org/TR/mathml-core/#underscripts-and-overscripts-munder-mover-munderover">
    <meta name="assert" content="Verifies invalidation after accentunder attribute is dynamically set.">
    <link rel="match" href="munderover-accentunder-dynamic-001-ref.html">
    <script>
      function doTest() {
        document.getElementById('mathOperator').setAttribute('accentunder', 'true');
        document.documentElement.removeAttribute("class");
      }
      window.addEventListener("TestRendered",doTest);
    </script>
  </head>
  <body>
    <math>
      <munderover id="mathOperator"><mtext>X</mtext><mo>O</mo><mo>O</mo></munderover>
    </math>
  </body>
</html>