| <!doctype html> | |
| <html class="reftest-wait"> | |
| <head> | |
| <title>mpadded dynamic</title> | |
| <meta charset="utf-8"/> | |
| <script type="text/javascript"> | |
| function doTest() { | |
| var mpadded = document.getElementById("mpadded"); | |
| mpadded.setAttribute("width", "80px"); | |
| mpadded.setAttribute("height", "30px"); | |
| mpadded.setAttribute("depth", "50px"); | |
| mpadded.setAttribute("lspace", "60px"); | |
| mpadded.setAttribute("voffset", "20px"); | |
| document.documentElement.removeAttribute("class"); | |
| } | |
| window.addEventListener("load", doTest, false); | |
| </script> | |
| </head> | |
| <body> | |
| <math> | |
| <mpadded id="mpadded" mathbackground="blue" | |
| width="40px" depth="30px" height="20px" | |
| lspace="5px" voffset="-15px"> | |
| <mspace width="10px" height="5px" depth="5px" mathbackground="red"/> | |
| </mpadded> | |
| </math> | |
| </body> | |
| </html> |