https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d667dfe87079b7acf0d9ec69afd1158e5f7fde8a authored by Rob Buis on 12 April 2018, 16:14:10 UTC
Fix regression allowing text value for -webkit-background-origin
Tip revision: d667dfe
webkit-text-fill-color-property-004.html
<!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>
back to top