prev | ( testsuite > Presentation > TokenElements > mo > moSminmax20 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/TokenElements/mo/moSminmax20
CVS-ID: |
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | This test checks the 'minsize' and 'maxsize' attributes which apply to stretchy operators. This test checks that inheritance through the <mstyle> element works, and that percentages work for CSS units.
Sample Rendering:

Your browser's rendering:

( y z ) + ( y z )

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mstyle minsize="1cm" maxsize="3cm">
        <mrow>
          <mo>(</mo>
          <mfrac>
            <mi>y</mi>
            <mi>z</mi>
          </mfrac>
          <mo maxsize="25%">)</mo>
          <mo>+</mo>
          <mo minsize="225%">(</mo>
          <mfrac>
            <mi>y</mi>
            <mi>z</mi>
          </mfrac>
          <mo maxsize="infinity">)</mo>
        </mrow>
      </mstyle>
    </math>