dynamic-mozilla-162063.xhtml (1266B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 3 <head> 4 <link rel="help" href="https://w3c.github.io/mathml-core/#dom-and-javascript"/> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=162063"/> 6 <link rel="match" href="about:blank"/> 7 <meta name="assert" content="Table's anonymous boxes should properly be removed when dropping some MathML content from them."/> 8 <script type="text/javascript"> 9 /* <![CDATA[ */ 10 function mutate() 11 { 12 var q = document.getElementById("target"); 13 remove(q); 14 document.documentElement.className = ""; 15 16 } 17 18 function remove(n) 19 { 20 n.parentNode.removeChild(n); 21 } 22 23 document.documentElement.addEventListener("TestRendered", mutate); 24 /* ]]> */ 25 </script> 26 <title> test for pseudo removal</title> 27 </head> 28 29 <body> 30 <div style="display:table; border-spacing:10px; background-color:Maroon"> 31 <math xmlns="http://www.w3.org/1998/Math/MathML" id="target"> 32 <msup> 33 <mfenced> 34 <mrow> 35 <mi>a</mi> 36 <mo>+</mo> 37 <mi>b</mi> 38 </mrow> 39 </mfenced> 40 <mn>2</mn> 41 </msup> 42 </math> 43 </div> 44 </body> 45 </html>