prev | ( testsuite > Presentation > GeneralLayout > msqrt-mroot > msqrtSinheritance9 ) | next | (show test run result)

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/GeneralLayout/msqrt-mroot/msqrtSinheritance9
CVS-ID: |
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | This examples tests that <msqrt> inherits font attributes properly from <mstyle>.
passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)
Sample Rendering:

Your browser's rendering:

x - 3 3 x 2 x - 3 3 x

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mrow>
        <mstyle color="Blue" fontweight="bold">
          <mfrac>
            <mstyle fontstyle="italic">
              <msqrt>
                <mrow>
                  <mi>x</mi>
                  <mo>-</mo>
                  <mn>3</mn>
                </mrow>
              </msqrt>
            </mstyle>
            <mstyle fontweight="bold">
              <msqrt>
                <mrow>
                  <mn>3</mn>
                  <mi>x</mi>
                </mrow>
              </msqrt>
            </mstyle>
          </mfrac>
        </mstyle>
        <mfrac>
          <mstyle fontstyle="italic">
            <msqrt>
              <mn>2</mn>
              <mi>x</mi>
              <mo>-</mo>
              <mn>3</mn>
            </msqrt>
          </mstyle>
          <mstyle fontweight="bold">
            <msqrt>
              <mrow>
                <mn>3</mn>
                <mi>x</mi>
              </mrow>
            </msqrt>
          </mstyle>
        </mfrac>
      </mrow>
    </math>