prev  ( testsuite > Topics > BiDi > ByElement > dir_mfrac_right  )  next (show test run result)

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Topics/BiDi/ByElement/dir_mfrac_right
CVS-ID:
Author:Frédéric WANG
Description:This tests dir='rtl' on the mfrac tag (alignment is right)

passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)


Sample Rendering:

Created by: MathPlayer

Your browser's rendering:

Test Without dir With dir=rtl mfrac (denomalign=right) a b c d a b c d

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML">
<mtable columnlines="solid" rowlines="solid" frame="solid" columnalign="center">
     <mtr>
      <mtd><mtext>Test</mtext></mtd>
      <mtd><mtext style="width:40%">Without dir</mtext></mtd>
      <mtd><mtext style="width:40%">With dir=rtl</mtext></mtd>
    </mtr>
   <mtr>
      <mtd><mtext>mfrac (denomalign=right)</mtext></mtd>
      <mtd>
          <mfrac denomalign="right">
            <mrow>
              <mi>a</mi>
              <mi>b</mi>
              <mi>c</mi>
            </mrow>
            <mi>d</mi>
          </mfrac>
        </mtd>
      <mtd><mstyle dir="rtl">
          <mfrac denomalign="right">
            <mrow>
              <mi>a</mi>
              <mi>b</mi>
              <mi>c</mi>
            </mrow>
            <mi>d</mi>
          </mfrac>
        </mstyle></mtd>
    </mtr>
</mtable> </math>