direction-008.html (1196B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"/> 5 <title>embellished mfrac (lspace=1em rspace=2em)</title> 6 <link rel="help" href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#css-styling"> 8 <link rel="help" href="https://w3c.github.io/mathml-core/#fractions-mfrac"> 9 <link rel="help" href="https://w3c.github.io/mathml-core/#embellished-operators"> 10 <meta name="assert" content="Verify that the lspace/rspace on an embellished mfrac element are switched in RTL mode"> 11 <link rel="match" href="direction-008-ref.html"> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style> 14 math, math * { 15 font: 25px/1 Ahem; 16 } 17 </style> 18 </head> 19 <body> 20 21 <p> 22 <math dir="rtl"> 23 <mtext>p</mtext> 24 <mfrac> 25 <mo lspace="1em" rspace="2em">X</mo> 26 <mtext>É</mtext> 27 </mfrac> 28 <mtext>p</mtext> 29 </math> 30 </p> 31 32 <script src="/mathml/support/feature-detection.js"></script> 33 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_dir");</script> 34 35 </body> 36 </html>