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