direction-token.html (1356B)
1 <!DOCTYPE html> 2 <html dir="rtl"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>Verify dir attribute on token elements</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/#token-elements"> 9 <meta name="assert" content="Verify dir attribute on various token elements."> 10 <link rel="match" href="direction-token-ref.html"> 11 </head> 12 <body> 13 14 <!-- Test dir="rtl" on MathML token elements. The text contains RTL and 15 LTR characters, so the attribute is needed to specify the actual 16 direction. --> 17 18 <p><math><mtext dir="rtl">חוק \left חסר או חוק \right מיותר</mtext></math></p> 19 <p><math><ms dir="rtl">חוק \left חסר או חוק \right מיותר</ms></math></p> 20 <p><math><mo dir="rtl">חוק \left חסר או חוק \right מיותר</mo></math></p> 21 <p><math><mi dir="rtl">חוק \left חסר או חוק \right מיותר</mi></math></p> 22 <p><math><mn dir="rtl">חוק \left חסר או חוק \right מיותר</mn></math></p> 23 24 <script src="/mathml/support/feature-detection.js"></script> 25 <script>MathMLFeatureDetection.ensure_for_match_reftest("has_dir");</script> 26 27 </body> 28 </html>