<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="../../../../style/mathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <!--
Copyright &#251; 1994-2003 World Wide Web Consortium, (Massachusetts Institute
of Technology, European Consortium for Informatics and
Mathematics, Keio University). All Rights Reserved. See
http://www.w3.org/Consortium/Legal/.
  -->
  <head>
    <title> W3C MathML TestSuite, Version 2: miScolorscope7</title>
</head>
  <body style="background: #ffffff">
    <table width="100%" cellpadding="8">
      <tr>
        <td>
          <a href="../../../Presentation/TokenElements/mi/miScolorname6.xml">
    prev </a>
        </td>
        <td style="text-align: right">
          <a href="../../../Presentation/TokenElements/mi/miSfonts8.xml">
    next</a>
        </td>
      </tr>
    </table>
      <table style="background:#cccccc" cellpadding="4">
        <tr>
          <td style="text-align: right" valign="top">File:</td>
          <td>Presentation/TokenElements/mi/miScolorscope7.xml (<a href="miScolorscope7.mml">mml file</a>)
        </td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Author:</td>
          <td>Robert Miner and Jeff Schaefer, Geometry Technologies</td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Description:</td>
          <td>Tests scoping of color attributes for &lt;mi> with
&lt;mstyle>. Also tests some CSS color name attribute
values.</td>
        </tr>
        <tr>
          <td style="text-align: right" valign="top">Sample Rendering:</td>
          <td>
            <table>
              <tr>
                <td>
                  <img src="miScolorscope7.png" alt="Created by: webeq"/>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    <p>
      <b>Your browser's rendering</b>:</p>
    <p>
    <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>
  </p>
    <hr/>
    <p>
      <b>Source Code</b>:</p>
    <pre>
    &lt;math> 
      &lt;mtable> 
        &lt;mtr> 
          &lt;mtd> 
            &lt;mi fontsize='14pt'>a&lt;/mi> 
            &lt;mo color='black'>+&lt;/mo> 
            &lt;mstyle fontsize='24pt' color='GREEN'> 
              &lt;mi>a&lt;/mi> 
              &lt;mo color='red'>+&lt;/mo> 
              &lt;mi color='red'>a&lt;/mi> 
            &lt;/mstyle> 
            &lt;mo>+&lt;/mo> 
            &lt;mi>a&lt;/mi> 
          &lt;/mtd> 
        &lt;/mtr> 
        &lt;mtr> 
          &lt;mtd> 
            &lt;mi mathsize='14pt'>a&lt;/mi> 
            &lt;mo mathcolor='black'>+&lt;/mo> 
            &lt;mstyle mathsize='24pt' mathcolor='GREEN'> 
              &lt;mi>a&lt;/mi> 
              &lt;mo mathcolor='red'>+&lt;/mo> 
              &lt;mi mathcolor='red'>a&lt;/mi> 
            &lt;/mstyle> 
            &lt;mo>+&lt;/mo> 
            &lt;mi>a&lt;/mi> 
          &lt;/mtd> 
        &lt;/mtr> 
        &lt;mtr> 
          &lt;mtd> 
            &lt;mi mathsize='14pt'>a&lt;/mi> 
            &lt;mo mathcolor='black'>+&lt;/mo> 
            &lt;mstyle mathsize='24pt' mathcolor='GREEN'> 
              &lt;mi>a&lt;/mi> 
              &lt;mo color='red'>+&lt;/mo> 
              &lt;mi fontsize='14pt'>a&lt;/mi> 
            &lt;/mstyle> 
            &lt;mo>+&lt;/mo> 
            &lt;mi>a&lt;/mi> 
          &lt;/mtd> 
        &lt;/mtr> 
      &lt;/mtable> 
    &lt;/math>
  </pre>
    <p style="text-align: right">
      <a href="../../../../overview.html" target="_top">
	Test Suite Home
	</a>
    </p>
    <hr/>
  </body>
</html>
