| <!doctype html> | |
| <html> | |
| <head> | |
| <title>scripts-mrow</title> | |
| <meta charset="utf-8"/> | |
| </head> | |
| <body> | |
| <!-- Wrapping msubsup in an mrow should not affect the rendering --> | |
| <p> | |
| <math> | |
| <msubsup><mi>x</mi><mn>1</mn><mi>k</mi></msubsup> | |
| </math> | |
| </p> | |
| <!-- Using mrow to group sub/sup scripts: three mspaces of width 10px | |
| should render the same as one of width 30px --> | |
| <p> | |
| <math> | |
| <msubsup> | |
| <mn>1</mn> | |
| <mspace width="30px" height="10px" depth="10px" | |
| mathbackground="red"/> | |
| <mspace width="10px" height="10px" depth="10px" | |
| mathbackground="green"/> | |
| </msubsup> | |
| </math> | |
| </p> | |
| <p> | |
| <math> | |
| <msubsup> | |
| <mn>2</mn> | |
| <mspace width="10px" height="10px" depth="10px" | |
| mathbackground="red"/> | |
| <mspace width="30px" height="10px" depth="10px" | |
| mathbackground="green"/> | |
| </msubsup> | |
| </math> | |
| </p> | |
| <p> | |
| <math> | |
| <msubsup> | |
| <mn>3</mn> | |
| <mspace width="30px" height="10px" depth="10px" | |
| mathbackground="red"/> | |
| <mspace width="30px" height="10px" depth="10px" | |
| mathbackground="green"/> | |
| </msubsup> | |
| </math> | |
| </p> | |
| </body> | |
| </html> |