frac-rendering-from-in-flow.html (1468B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>fraction rendering from in-flow children</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac"> 7 <meta name="assert" content="Verify rendering of fractions is only affected by in-flow children."> 8 <style> 9 .oof1 { 10 position: absolute; 11 } 12 .oof2 { 13 position: fixed; 14 } 15 .nobox { 16 display: none; 17 } 18 </style> 19 <link rel="match" href="frac-rendering-from-in-flow-ref.html"> 20 </head> 21 <body> 22 <math> 23 <mfrac> 24 <mspace height="32px" width="24px" class="oof1"/> 25 <mspace height="16px" width="12px" class="oof2"/> 26 <mspace height="8px" width="4px" class="nobox"/> 27 <mspace width="64px" height="48px" style="background: lightblue"></mspace> 28 <mspace height="32px" width="24px" class="oof1"/> 29 <mspace height="16px" width="12px" class="oof2"/> 30 <mspace height="8px" width="4px" class="nobox"/> 31 <mspace width="128px" height="96px" style="background: lightgreen"></mspace> 32 <mspace height="32px" width="24px" class="oof1"/> 33 <mspace height="16px" width="12px" class="oof2"/> 34 <mspace height="8px" width="4px" class="nobox"/> 35 </mfrac> 36 </math> 37 <script src="/mathml/support/feature-detection.js"></script> 38 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_mfrac");</script> 39 </body> 40 </html>