tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

direction-010.html (1602B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8"/>
      5    <title>dir="rtl" VS direction: rtl on math/mrow/mstyle</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/#horizontally-group-sub-expressions-mrow">
      9    <link rel="help" href="https://w3c.github.io/mathml-core/#style-change-mstyle">
     10    <link rel="help" href="https://w3c.github.io/mathml-core/#the-top-level-math-element">
     11    <meta name="assert" content="Verify that math, mrow and mstyle with a dir=rtl attribute render the same as CSS direction right-to-left.">
     12    <link rel="match" href="direction-010-ref.html">
     13    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     14    <style>
     15      math {
     16          font: 25px/1 Ahem;
     17      }
     18    </style>
     19  </head>
     20  <body>
     21 
     22    <p>
     23      <math dir="rtl">
     24        <mtext>X</mtext>
     25        <mtext>p</mtext>
     26        <mtext>É</mtext>
     27      </math>
     28    </p>
     29 
     30    <p>
     31      <math>
     32        <mrow dir="rtl">
     33          <mtext>X</mtext>
     34          <mtext>p</mtext>
     35          <mtext>É</mtext>
     36        </mrow>
     37      </math>
     38    </p>
     39 
     40    <p>
     41      <math>
     42        <mstyle mathcolor="blue" dir="rtl">
     43          <mtext>X</mtext>
     44          <mtext>p</mtext>
     45          <mtext>É</mtext>
     46        </mstyle>
     47      </math>
     48    </p>
     49 
     50   <script src="/mathml/support/feature-detection.js"></script>
     51   <script>MathMLFeatureDetection.ensure_for_match_reftest("has_dir");</script>
     52 
     53  </body>
     54 </html>