mmultiscripts-empty-scripts.html (2182B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Comparison of script elements</title> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=669932"> 6 <link rel="match" href="mmultiscripts-empty-scripts-ref.html"> 7 <meta name="assert" content="Verify elements with empty sub/sup scripts render the same as equivalent elements with less scripts."> 8 </head> 9 <body> 10 msubsup: 11 <math> 12 <msubsup style="background: red;"> 13 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 14 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext> 15 <mtext style="background-color: rgba(0, 255, 0, 0.4);">ccc</mtext> 16 </msubsup> 17 </math> 18 19 <br><br> 20 21 <!-- Different rules apply to msub, so it won't provide equivalent output --> 22 msubsup: 23 <math> 24 <msubsup style="background: red;"> 25 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 26 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext> 27 <mrow></mrow> 28 </msubsup> 29 </math> 30 31 <br><br> 32 33 msup / msubsup: 34 <math> 35 <msup style="background: red;"> 36 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 37 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext> 38 </msup> 39 </math> 40 41 <math> 42 <msubsup style="background: red;"> 43 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 44 <mrow></mrow> 45 <mtext style="background-color: rgba(0, 255, 0, 0.4);">bbb</mtext> 46 </msubsup> 47 </math> 48 49 <br><br> 50 51 mrow / msub: 52 <math> 53 <mrow style="background: red;"> 54 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 55 </mrow> 56 </math> 57 58 <math> 59 <msub style="background: red;"> 60 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 61 <mrow></mrow> 62 </msub> 63 </math> 64 65 <br><br> 66 67 msupsub: 68 <math> 69 <msubsup style="background: red;"> 70 <mtext style="background-color: rgba(0, 0, 255, 0.4);">AAA</mtext> 71 <mrow></mrow> 72 <mrow></mrow> 73 </msubsup> 74 </math> 75 76 </body> 77 </html>