prev  ( testsuite > Presentation > TokenElements > ms > msScolorscope6  )  next

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

Sample Rendering:

Created by: webeq

Your browser's rendering:

boy + girl + apple + fig

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <ms fontsize="14pt">boy</ms> 
    <mo color="black">+</mo> 
    <mstyle fontsize="24pt" color="GREEN"> 
      <ms>girl</ms> 
      <mo color="red">+</mo> 
      <ms color="red">apple</ms> 
    </mstyle> 
    <mo>+</mo> 
    <ms>fig</ms> 
  </mrow> 
</math>