summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/presentation-markup/scripts/mover-accent-dynamic-change.html
blob: a744149e6061310a2df2461635fba4a69c116707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<title>MathML: Dynamically change accent on mover</title>
<link rel="help" href="https://w3c.github.io/mathml-core/#displaystyle-and-scriptlevel-in-scripts">
<link rel="match" href="mover-accent-dynamic-change-ref.html">
<meta name="assert" content="Test that setting the accent attribute on mover takes effect">
<p>The 1's below should have the same size</p>
<math>
  <mover id="m">
    <mn>1</mn>
    <mn>1</mn>
  </mover>
</math>
<script>
  document.body.offsetTop;
  m.setAttribute("accent", "true");
</script>