Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML"> |
michael@0 | 2 | <body> |
michael@0 | 3 | |
michael@0 | 4 | <!-- Test that CSS color works on m:math and m:mstyle --> |
michael@0 | 5 | <p> |
michael@0 | 6 | <span><m:math style="color: green;"><m:mstyle><m:mi>X</m:mi></m:mstyle></m:math></span> |
michael@0 | 7 | <span><m:math><m:mstyle style="color: green;"><m:mi>X</m:mi></m:mstyle></m:math></span> |
michael@0 | 8 | <span><m:math><m:mstyle><m:mi style="color: green;">X</m:mi></m:mstyle></m:math></span> |
michael@0 | 9 | </p> |
michael@0 | 10 | |
michael@0 | 11 | <!-- Test that mathcolor works on m:mi, m:mstyle and m:math --> |
michael@0 | 12 | <p> |
michael@0 | 13 | <span><m:math mathcolor="green"><m:mstyle><m:mi>X</m:mi></m:mstyle></m:math></span> |
michael@0 | 14 | <span><m:math><m:mstyle mathcolor="green"><m:mi>X</m:mi></m:mstyle></m:math></span> |
michael@0 | 15 | <span><m:math><m:mstyle><m:mi mathcolor="green">X</m:mi></m:mstyle></m:math></span> |
michael@0 | 16 | </p> |
michael@0 | 17 | |
michael@0 | 18 | <!-- Test that mathbackground and CSS background work on m:mi --> |
michael@0 | 19 | <p><m:math><m:mi mathbackground="lightgreen">Y</m:mi></m:math></p> |
michael@0 | 20 | <p><m:math><m:mi style="background: lightgreen">Y</m:mi></m:math></p> |
michael@0 | 21 | |
michael@0 | 22 | <!-- Test that mathbackground and CSS background work on m:mfenced --> |
michael@0 | 23 | <p><m:math><m:mfenced mathbackground="lightgreen"><m:mi>x</m:mi></m:mfenced></m:math></p> |
michael@0 | 24 | <p><m:math><m:mfenced style="background: lightgreen;"><m:mi>x</m:mi></m:mfenced></m:math></p> |
michael@0 | 25 | |
michael@0 | 26 | </body> |
michael@0 | 27 | </html> |