mozilla-393760-1.xml (1400B)
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML"> 2 <head> 3 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=393760"/> 4 <link rel="match" href="mozilla-393760-1-ref.xml"/> 5 </head> 6 <body> 7 8 <!-- Test that CSS color works on m:math and m:mstyle --> 9 <p> 10 <span><m:math style="color: green;"><m:mstyle><m:mi>X</m:mi></m:mstyle></m:math></span> 11 <span><m:math><m:mstyle style="color: green;"><m:mi>X</m:mi></m:mstyle></m:math></span> 12 <span><m:math><m:mstyle><m:mi style="color: green;">X</m:mi></m:mstyle></m:math></span> 13 </p> 14 15 <!-- Test that mathcolor works on m:mi, m:mstyle and m:math --> 16 <p> 17 <span><m:math mathcolor="green"><m:mstyle><m:mi>X</m:mi></m:mstyle></m:math></span> 18 <span><m:math><m:mstyle mathcolor="green"><m:mi>X</m:mi></m:mstyle></m:math></span> 19 <span><m:math><m:mstyle><m:mi mathcolor="green">X</m:mi></m:mstyle></m:math></span> 20 </p> 21 22 <!-- Test that mathbackground and CSS background work on m:mi --> 23 <p><m:math><m:mi mathbackground="lightgreen">Y</m:mi></m:math></p> 24 <p><m:math><m:mi style="background: lightgreen">Y</m:mi></m:math></p> 25 26 <!-- Test that mathbackground and CSS background work on m:mfenced --> 27 <p><m:math><m:mfenced mathbackground="lightgreen"><m:mi>x</m:mi></m:mfenced></m:math></p> 28 <p><m:math><m:mfenced style="background: lightgreen;"><m:mi>x</m:mi></m:mfenced></m:math></p> 29 30 </body> 31 </html>