prev  ( testsuite > Presentation > TokenElements > mi > miScolorscope7  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TokenElements/mi/miScolorscope7
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:Tests scoping of color attributes for <mi> with <mstyle>. Also tests some CSS color name attribute values.

Sample Rendering:

Created by: webeq

Your browser's rendering:

a + a + a + a a + a + a + a a + a + a + a

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mtable> 
    <mtr> 
      <mtd> 
        <mi fontsize="14pt">a</mi> 
        <mo color="black">+</mo> 
        <mstyle fontsize="24pt" color="GREEN"> 
          <mi>a</mi> 
          <mo color="red">+</mo> 
          <mi color="red">a</mi> 
        </mstyle> 
        <mo>+</mo> 
        <mi>a</mi> 
      </mtd> 
    </mtr> 
    <mtr> 
      <mtd> 
        <mi mathsize="14pt">a</mi> 
        <mo mathcolor="black">+</mo> 
        <mstyle mathsize="24pt" mathcolor="GREEN"> 
          <mi>a</mi> 
          <mo mathcolor="red">+</mo> 
          <mi mathcolor="red">a</mi> 
        </mstyle> 
        <mo>+</mo> 
        <mi>a</mi> 
      </mtd> 
    </mtr> 
    <mtr> 
      <mtd> 
        <mi mathsize="14pt">a</mi> 
        <mo mathcolor="black">+</mo> 
        <mstyle mathsize="24pt" mathcolor="GREEN"> 
          <mi>a</mi> 
          <mo color="red">+</mo> 
          <mi fontsize="14pt">a</mi> 
        </mstyle> 
        <mo>+</mo> 
        <mi>a</mi> 
      </mtd> 
    </mtr> 
  </mtable> 
</math>