prev  ( testsuite > Topics > BiDi > ByElement > dir_mtable  )  next

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

Sample Rendering:

Created by: MathPlayer

Your browser's rendering:

Test Without dir With dir=rtl mtable a b c d e f a b c d e f

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>mtable</mtext></mtd>
      <mtd>
          <mtable>
            <mtr>
              <mtd>
                <mi>a</mi>
              </mtd>
              <mtd>
                <mi>b</mi>
              </mtd>
              <mtd>
                <mi>c</mi>
              </mtd>
            </mtr>
            <mtr>
              <mtd>
                <mi>d</mi>
              </mtd>
              <mtd>
                <mi>e</mi>
              </mtd>
              <mtd>
                <mi>f</mi>
              </mtd>
            </mtr>
          </mtable>
        </mtd>
      <mtd><mstyle dir="rtl">
          <mtable>
            <mtr>
              <mtd>
                <mi>a</mi>
              </mtd>
              <mtd>
                <mi>b</mi>
              </mtd>
              <mtd>
                <mi>c</mi>
              </mtd>
            </mtr>
            <mtr>
              <mtd>
                <mi>d</mi>
              </mtd>
              <mtd>
                <mi>e</mi>
              </mtd>
              <mtd>
                <mi>f</mi>
              </mtd>
            </mtr>
          </mtable>
        </mstyle></mtd>
    </mtr>
</mtable> </math>