webkit-text-fill-color-property-004.html (966B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>webkit-text-fill-color should take effect while rendering MathML</title> 4 <link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 6 <link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-fill-color"> 7 <meta name="assert" content="The color of MathML should be green"> 8 <link rel="match" href="webkit-text-fill-color-property-004-ref.html"> 9 <style> 10 math { 11 font-size: 50px; 12 color: red; 13 -webkit-text-fill-color: green; 14 } 15 </style> 16 <body> 17 <p>Pass if color of operators and operands are all green!!!</p> 18 <math> 19 <mrow> 20 <mrow> 21 <msup> 22 <mi>a</mi> 23 <mn>2</mn> 24 </msup> 25 <mo>+</mo> 26 <msup> 27 <mi>b</mi> 28 <mn>2</mn> 29 </msup> 30 </mrow> 31 <mo>=</mo> 32 <msup> 33 <mi>c</mi> 34 <mn>2</mn> 35 </msup> 36 </mrow> 37 </math> 38 </body>