<!DOCTYPE html> <html> <head> <title>Test mpadded</title> </head> <body> <math> <mpadded mathbackground="red" height="100width" depth="0"> <mphantom> <mtext style="font-family: monospace">X</mtext> </mphantom> </mpadded> </math> <math> <mpadded mathbackground="red" height="100width" depth="0"> <mphantom> <mtext mathvariant="monospace">X</mtext> </mphantom> </mpadded> </math> </body> </html>