padding-border-margin-007.html (753B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"/> 3 <title>Padding/border/margin on mfrac</title> 4 <link rel="match" href="padding-border-margin-007-ref.html"/> 5 <meta name="assert" content="Verify visual how padding/border/margin on an mfrac element affect the position of the painted fraction bar."> 6 <style> 7 @font-face { 8 font-family: FractionFont; 9 src: url("/fonts/math/fraction-rulethickness10000.woff"); 10 } 11 mfrac { 12 font-family: FractionFont; 13 } 14 </style> 15 <math> 16 <mrow> 17 <mfrac style="border: 30px solid blue; padding: 20px; color: gray"> 18 <mspace width="100px" height="50px" depth="50px" style="margin: 10px"></mspace> 19 <mspace width="100px" height="50px" depth="50px" style="margin: 10px"></mspace> 20 </mfrac> 21 </mrow> 22 </math>