prev next
File: Presentation/TokenElements/mo/moSminmax20.xml (mml file)
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:
Created by: webeq

Your browser's rendering:

( y z ) + ( y z )


Source Code:

    <math> 
      <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>
  

Test Suite Home