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