Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /mathml/relations/css-styling/padding-border-margin/padding-border-margin-006.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8"/>
<title>Padding/border/margin on mroot</title>
<link rel="match" href="padding-border-margin-006-ref.html"/>
<meta name="assert" content="Verify visual how padding/border/margin on an mroot element affect the position of the painted radical symbol.">
<style>
@font-face {
font-family: RadicalFont;
src: url("/fonts/math/radical-kernafterdegreeminus5000-rulethickness1000.woff");
}
mroot {
font-family: RadicalFont;
}
</style>
<math>
<mrow>
<mroot style="border: 30px solid blue; padding: 20px; color: gray">
<mspace width="100px" height="50px" depth="50px" style="margin: 10px"></mspace>
<mspace width="20px" height="10px" depth="10px" style="margin: 5px"></mspace>
</mroot>
</mrow>
</math>