mo-movablelimits-dynamic.html (1013B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>Test dynamically removing movablelimits attribute</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#operator-fence-separator-or-accent-mo"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#dom-and-javascript"> 8 <meta name="assert" content="Verifies dynamically removing movablelimits."> 9 <link rel="match" href="mo-movablelimits-dynamic-ref.html"> 10 <script> 11 window.addEventListener("load", () => { 12 document.getElementById('a').removeAttribute('movablelimits'); 13 document.documentElement.classList.remove('reftest-wait'); 14 }); 15 </script> 16 </head> 17 <body> 18 <math> 19 <munder> 20 <mo id="a" movablelimits="false">∑</mo> 21 <mi>x</mi> 22 </munder> 23 </math> 24 <script src="/mathml/support/feature-detection.js"></script> 25 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_munderover");</script> 26 </body> 27 </html>