| prev | next |
| File: | Presentation/TokenElements/CommonAttributes/hexcolors2.html | |
| Author: | Robert Miner and Jeff Schaefer, Geometry Technologies; Neil Soiffer, Wolfram Research | |
| Description: | This test checks that both CSS hex color formats are correctly processed, using the 'color', 'mathcolor', and 'mathbackground' attribute of the <mi> and <mn> elements. | |
| Sample Rendering: |
|
Your browser's rendering:
Source Code:
<math>
<mtable>
<mtr>
<mtd>
<mrow>
<mi color='#f00'>A</mi>
<mo>+</mo>
<mi color='#0000ff'>A</mi>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mn mathcolor='#f00'>1</mn>
<mo>+</mo>
<mn mathcolor='#0000ff'>1</mn>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mn mathbackground='#f00'>1</mn>
<mo>+</mo>
<mn mathbackground='#0000ff'>1</mn>
</mrow>
</mtd>
</mtr>
</mtable>
</math>